API Reference / @evolu/common / Type / TypeErrorWithReason
Interface: TypeErrorWithReason<Name, Reason>
Defined in: packages/common/src/Type.ts:257
Extends
TypeError
<Name
>
Extended by
Type Parameters
Type Parameter | Default type |
---|---|
Name extends TypeName | TypeName |
Reason extends object | object |
Properties
Property | Modifier | Type | Description | Inherited from | Defined in |
---|---|---|---|---|---|
reason | readonly | Reason | The detailed reason for the error, represented as a tagged union. | - | packages/common/src/Type.ts:264 |
type | readonly | Name | - | TypeError .type | packages/common/src/Type.ts:248 |
value | readonly | unknown | The value that was received and caused the error. Provides additional context for debugging and validation feedback. | TypeError .value | packages/common/src/Type.ts:254 |