API reference › @evolu/common › Type › TypeErrorWithReason
Defined in: packages/common/src/Type.ts:494
Extends
TypeError<Name>
Extended by
Properties
reason
readonly reason: Reason;
Defined in: packages/common/src/Type.ts:501
The detailed reason for the error, represented as a tagged union.
type
readonly type: Name;
Defined in: packages/common/src/Type.ts:485
Inherited from
value
readonly value: unknown;
Defined in: packages/common/src/Type.ts:491
The value that was received and caused the error. Provides additional context for debugging and validation feedback.