jobbit v0.5.0 Jobbit.TaskError exception

Exception generated when the Jobbit task process raises an exception.

Captures the Task, the exception that was raised, and the stacktrace of the task's process.

Link to this section Summary

Link to this section Types

Specs

exception() :: %module(){__exception__: true} | atom()
Link to this type

stack_item()

Specs

stack_item() :: {atom(), atom(), integer(), Keyword.t()}

Specs

t() :: %Jobbit.TaskError{
  __exception__: term(),
  exception: exception(),
  stacktrace: [stack_item()],
  task: Task.t()
}