TransitionError class
Reported through `app.report` (the kernel wraps it as `REPORTED`) or logged in dev.
import { TransitionError } from '@dioramajs/diorama/transitions'class TransitionErrorMembers
| Name | Type | Description |
|---|---|---|
constructor | | |
cause? | unknown | |
readonly code | TransitionErrorCode | Error code, the key of its page in the docs. |
message | string | |
readonly name | 'TransitionError' | Always Default |
stack? | string | |
stackTraceLimit | number | The The default value is If set to a non-number value, or set to a negative number, stack traces will not capture any frames. |
captureStackTrace | | Creates a The first line of the trace will be prefixed with The optional The |
prepareStackTrace | |
Also exported from @dioramajs/transitions.
Defined in packages/transitions/src/errors.ts.