exceptions
NOTE: Do not import any 3rd-party dependency from this module, since it is also
part of runner/executors/slurm_common/remote.py - which needs to run in an
environment where no dependencies are installed.
| CLASS | DESCRIPTION |
|---|---|
JobExecutionError |
JobExecutionError |
TaskExecutionError |
Forwards errors occurred during the execution of a task |
Classes
JobExecutionError
Bases: RuntimeError
JobExecutionError
| ATTRIBUTE | DESCRIPTION |
|---|---|
info |
A free field for additional information
TYPE:
|
Source code in fractal_server/runner/exceptions.py
TaskExecutionError
Bases: RuntimeError
Forwards errors occurred during the execution of a task
This error wraps and forwards errors occurred during the execution of tasks, when the exit code is larger than 0 (i.e. the error took place within the task). This error also adds information that is useful to track down and debug the failing task within a workflow.
| ATTRIBUTE | DESCRIPTION |
|---|---|
workflow_task_id |
ID of the workflow task that failed.
TYPE:
|
workflow_task_order |
Order of the task within the workflow.
TYPE:
|
task_name |
Human readable name of the failing task.
TYPE:
|