doot.errors.task

These are the doot specific errors that can occur

Exceptions

TaskError

An Error indicating a specific task failed

TaskFailed

A Task attempted to run, but failed in some way.

TaskTrackingError

The underlying sequencing of task running failed in some way.

ActionError

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.task.TaskError(
msg: str,
*args: Any,
task: jgdv.Maybe[doot.workflow._interface.Task_i | doot.workflow._interface.TaskSpec_i] = None,
)[source]

Bases: doot.errors._base.BackendError

An Error indicating a specific task failed

Parameters:
task: jgdv.Maybe
general_msg = 'Doot Task Error:'
exception doot.errors.task.TaskFailed(
msg: str,
*args: Any,
task: jgdv.Maybe[doot.workflow._interface.Task_i | doot.workflow._interface.TaskSpec_i] = None,
)[source]

Bases: TaskError

A Task attempted to run, but failed in some way.

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

Bases: TaskError

The underlying sequencing of task running failed in some way.

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

Bases: TaskError

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

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

Bases: ActionError

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

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