Structured failure returned by fixed-trace replay.
Failures are constructed by Victoria and should be treated as read-only.
Summary
Types
@type phase() ::
:trace_validation
| :initialization
| :initial_verification
| :execution
| :snapshot
| :projection
| :step_verification
| :cleanup
The lifecycle phase that failed.
@type t() :: %Victoria.Runner.Failure{ __exception__: term(), action: String.t() | nil, cleanup_error: term() | nil, expected: map() | nil, model: module(), observed: map() | nil, phase: phase(), reason: term(), step_index: non_neg_integer() | nil, trace_path: Path.t() }
A controlled replay failure with trace and callback context.