Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] docs: add raise user error section #6084

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/user_guide/customizing_dependencies/raw_containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ One of the benefits of raw container tasks is that Flytekit does not need to be
Raw containers can be run locally when flytekit version >= 1.11.0.
:::

### Raise User Error

Raw containers handle errors by checking for the presence of an `_ERROR` file in the
`output_data_dir` after the container's execution. If this file exists, Flyte treats it as
a user-defined error and retries the task if `retries` parameter is set in the task
metadata.

## Scripts

The contents of each script specified in the `ContainerTask` is as follows:
Expand Down
Loading