doot.errors.control

These are the doot specific errors that can occur

Exceptions

ControlError

The base class for all Doot Errors

TrackingError

The underlying sequencing of task running failed in some way.

TaskExecutionError

An Error indicating a specific task failed

JobExpansionError

An Error indicating a specific task failed

ActionCallError

In the course of executing a task, one of it's actions failed.

ActionStateError

An action required certain state to exist, but it wasn't found.

Module Contents

exception doot.errors.control.ControlError[source]

Bases: doot.errors._base.BackendError

The base class for all Doot Errors will try to % format the first argument with remaining args in str()

exception doot.errors.control.TrackingError[source]

Bases: ControlError

The underlying sequencing of task running failed in some way.

general_msg: str = 'Doot Tracking Failure:'
exception doot.errors.control.TaskExecutionError(
msg: str,
*args: Any,
task: jgdv.Maybe[doot.workflow._interface.Task_i] = None,
)[source]

Bases: ControlError

An Error indicating a specific task failed

Parameters:
general_msg = 'Doot Task Error:'
task = None
property task_name[source]
property task_source[source]
exception doot.errors.control.JobExpansionError(
msg: str,
*args: Any,
task: jgdv.Maybe[doot.workflow._interface.Task_i] = None,
)[source]

Bases: TaskExecutionError

An Error indicating a specific task failed

Parameters:
exception doot.errors.control.ActionCallError(
msg: str,
*args: Any,
task: jgdv.Maybe[doot.workflow._interface.Task_i] = None,
)[source]

Bases: TaskExecutionError

In the course of executing a task, one of it’s actions failed.

Parameters:
general_msg = 'Doot Action Failure:'
exception doot.errors.control.ActionStateError(
msg: str,
*args: Any,
task: jgdv.Maybe[doot.workflow._interface.Task_i] = None,
)[source]

Bases: ActionCallError

An action required certain state to exist, but it wasn’t found.

Parameters:
general_msg = 'Doot Action State Fields Missing:'