err
parameter
which is an instance of FlyteError
. To use the FlyteError, you will need the
truefoundry version to be greater than or equal to 0.9.1 and the name of the
parameter should be err
only.normal_task
and failure_task
. One is a normal task that will fail and the other is a failure task that will be executed in the event of a failure.err
parameter which is an instance of FlyteError
which you can import from truefoundry.workflow
and this will contain the error message or stack trace of the failure.
normal_task
and if it fails, the failure_task
will be executed