Interface Aborted
interface Aborted {
abort:
| NotAValue
| UnexpectedResult
| RequiredDataMissing
| WrongType
| InvalidLifecycle
| RescueSkipped
| ReservedMetadataKey
| (
StepCouldNotBeBuilt & ({ readonly errorMessage: string; readonly error: unknown; } | { readonly errorMessage?: never; readonly error?: never; })
)
| PolicyCouldNotBeBuilt & { error: unknown }
| HookFailed & { error: unknown }
| ReporterFailed & { error: unknown };
kind: "aborted";
}
abort:
| NotAValue
| UnexpectedResult
| RequiredDataMissing
| WrongType
| InvalidLifecycle
| RescueSkipped
| ReservedMetadataKey
| (
StepCouldNotBeBuilt & ({ readonly errorMessage: string; readonly error: unknown; } | { readonly errorMessage?: never; readonly error?: never; })
)
| PolicyCouldNotBeBuilt & { error: unknown }
| HookFailed & { error: unknown }
| ReporterFailed & { error: unknown };
kind: "aborted";
}
Properties
Readonlyabort
abort:
| NotAValue
| UnexpectedResult
| RequiredDataMissing
| WrongType
| InvalidLifecycle
| RescueSkipped
| ReservedMetadataKey
| (
StepCouldNotBeBuilt & ({ readonly errorMessage: string; readonly error: unknown; } | { readonly errorMessage?: never; readonly error?: never; })
)
| PolicyCouldNotBeBuilt & { error: unknown }
| HookFailed & { error: unknown }
| ReporterFailed & { error: unknown }
| NotAValue
| UnexpectedResult
| RequiredDataMissing
| WrongType
| InvalidLifecycle
| RescueSkipped
| ReservedMetadataKey
| (
StepCouldNotBeBuilt & ({ readonly errorMessage: string; readonly error: unknown; } | { readonly errorMessage?: never; readonly error?: never; })
)
| PolicyCouldNotBeBuilt & { error: unknown }
| HookFailed & { error: unknown }
| ReporterFailed & { error: unknown }
Why it was aborted.
Type Declaration
- NotAValue
- UnexpectedResult
- RequiredDataMissing
- WrongType
- InvalidLifecycle
- RescueSkipped
- ReservedMetadataKey
- StepCouldNotBeBuilt & ({ readonly errorMessage: string; readonly error: unknown; } | { readonly errorMessage?: never; readonly error?: never; })
- PolicyCouldNotBeBuilt & { error: unknown }
-
Readonlyerror: unknownWhat the custom code that caused the abort threw, as it was thrown.
-
- HookFailed & { error: unknown }
-
Readonlyerror: unknownWhat the custom code that caused the abort threw, as it was thrown.
-
- ReporterFailed & { error: unknown }
-
Readonlyerror: unknownWhat the custom code that caused the abort threw, as it was thrown.
-
Readonlykind
kind: "aborted"
Tells this status from the others.
The journey was aborted: something illegal happened, typically code that did not handle an error as it should.