Interface JourneyFailedWithError
interface JourneyFailedWithError {
cause: "retries exhausted" | "abnormal termination";
decidedBy: "default";
errorMessage: string;
journeyId: JourneyId;
kind: "journey_failed";
reason?: undefined;
sequence: number;
step: StepName;
timestamp: Timestamp;
workflow: WorkflowName;
}
cause: "retries exhausted" | "abnormal termination";
decidedBy: "default";
errorMessage: string;
journeyId: JourneyId;
kind: "journey_failed";
reason?: undefined;
sequence: number;
step: StepName;
timestamp: Timestamp;
workflow: WorkflowName;
}
Hierarchy
- Failed
- JourneyFailedWithError
Properties
Readonlycause
cause: "retries exhausted" | "abnormal termination"
Why it failed.
Readonlydecided By
decidedBy: "default"
Who decided it.
Readonlyerror Message
errorMessage: string
The message of the error that ended the last attempt.
Readonlyjourney Id
The journey's ID.
Readonlykind
kind: "journey_failed"
The event's kind, which tells what else it carries.
Optional Readonlyreason
reason?: undefined
Never present: the last attempt ended abnormally, with no reason.
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 ended in an abnormal termination that was not retried.