Error Handling

When encountering an exception during execution pipelines will stop. Details about the execution can be found on the execution record as a warning message. Also, any error occurred during execution will be logged.

An execution of a pipeline encountering an error will receive the status FAILED.

Alternatively, you can interrupt a pipeline execution manually within your code without raising an error. To do so, use the custom type wizata_dsapi.AbortedException therefore execution will receive status ABORTED instead.

Example of a script using Aborted Exception :

def script_abort(context: wizata_dsapi.Context):  
    raise wizata_dsapi.AbortedException("pipeline aborted by script")

Using Aborted instead of a normal error allow you to filter out abnormal pipeline failure and expected one.