Interface JourneyFailedWithReason
interface JourneyFailedWithReason {
cause: "failure" | "retries exhausted";
decidedBy: "default";
errorMessage?: undefined;
journeyId: JourneyId;
kind: "journey_failed";
reason: Reason;
sequence: number;
step: StepName;
timestamp: Timestamp;
workflow: WorkflowName;
}
cause: "failure" | "retries exhausted";
decidedBy: "default";
errorMessage?: undefined;
journeyId: JourneyId;
kind: "journey_failed";
reason: Reason;
sequence: number;
step: StepName;
timestamp: Timestamp;
workflow: WorkflowName;
}
Hierarchy
- Failed
- JourneyFailedWithReason
Properties
Readonlycause
cause: "failure" | "retries exhausted"
Why it failed.
Readonlydecided By
decidedBy: "default"
Who decided it.
Optional Readonlyerror Message
errorMessage?: undefined
Never present: the last attempt reported a failure, with no error.
Readonlyjourney Id
The journey's ID.
Readonlykind
kind: "journey_failed"
The event's kind, which tells what else it carries.
Readonlyreason
The reason the last attempt reported.
Readonlysequence
sequence: number
The event's position in its journey's event stream, from 1.
Readonlystep
The name of the step that failed.
Readonlytimestamp
When the event was emitted.
Readonlyworkflow
The workflow's name.
The journey failed because its step's last attempt reported a failure, with no retry budget left.