Interface FailureWithError
interface FailureWithError {
cause: "retries exhausted" | "abnormal termination";
error: unknown;
errorMessage: string;
reason?: undefined;
}
cause: "retries exhausted" | "abnormal termination";
error: unknown;
errorMessage: string;
reason?: undefined;
}
Properties
Readonlycause
cause: "retries exhausted" | "abnormal termination"
Why the journey failed.
Readonlyerror
error: unknown
What the step threw, as it was thrown.
Readonlyerror Message
errorMessage: string
The message of what the step threw: its message for an Error, and
its text otherwise.
Optional Readonlyreason
reason?: undefined
Never present: an error explains this failure, not a reason.
A failure explained by an error: the last attempt ended in an abnormal termination that was not retried.