Standard result value returned by node handlers.
Outcomes tell the engine whether a stage succeeded, partially succeeded, failed, or
should be retried. They also carry context updates and routing hints such as
preferred_label and suggested_next_ids.
Summary
Functions
Builds a failure outcome with a reason and failure category.
Builds a partial-success outcome with optional context updates and notes.
Builds a retry outcome with a reason and retry category.
Builds a success outcome with optional context updates and notes.
Types
@type failure_category() :: :retryable | :terminal | :pipeline | nil
@type status() :: :success | :partial_success | :fail | :retry
Functions
Builds a failure outcome with a reason and failure category.
Builds a partial-success outcome with optional context updates and notes.
Builds a retry outcome with a reason and retry category.
Builds a success outcome with optional context updates and notes.