Workflows.Error (Workflows v0.2.0) View Source

Represent an execution error. Errors have a name and a human-readable cause.

Link to this section Summary

Functions

Create a new error.

Link to this section Types

Specs

t() :: %Workflows.Error{cause: String.t(), name: String.t()}

Link to this section Functions

Specs

create(String.t(), String.t()) :: t()

Create a new error.