API reference@evolu/commonType › TypeErrorWithReason

Defined in: packages/common/src/Type.ts:494

Extends

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

TypeError.type


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.

Inherited from

TypeError.value