Variable AbortReasonConst
AbortReason: ClosedSet<
{
HookFailed: "hook failed";
InvalidLifecycle: "invalid lifecycle";
NotAValue: "not a value";
PolicyCouldNotBeBuilt: "policy could not be built";
ReporterFailed: "reporter failed";
RequiredDataMissing: "required data missing";
RescueSkipped: "rescue skipped";
ReservedMetadataKey: "reserved metadata key";
StepCouldNotBeBuilt: "step could not be built";
UnexpectedResult: "unexpected result";
WrongType: "wrong type";
},
> = ...
{
HookFailed: "hook failed";
InvalidLifecycle: "invalid lifecycle";
NotAValue: "not a value";
PolicyCouldNotBeBuilt: "policy could not be built";
ReporterFailed: "reporter failed";
RequiredDataMissing: "required data missing";
RescueSkipped: "rescue skipped";
ReservedMetadataKey: "reserved metadata key";
StepCouldNotBeBuilt: "step could not be built";
UnexpectedResult: "unexpected result";
WrongType: "wrong type";
},
> = ...
Why a journey was aborted: something illegal happened, typically code that did not handle an error as it should. Each value is written as the specification names it, such as
"reporter failed".