Skip to content

Commit

Permalink
docs: add raise user error section (#6084)
Browse files Browse the repository at this point in the history
Signed-off-by: machichima <[email protected]>
  • Loading branch information
machichima authored Dec 5, 2024
1 parent 76c7f76 commit de12c82
Showing 1 changed file with 7 additions and 0 deletions.
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

0 comments on commit de12c82

Please sign in to comment.