API Reference / @evolu/common / Type / TypeErrorWithReason

Interface: TypeErrorWithReason<Name, Reason>

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

Extends

Extended by

Type Parameters

Type ParameterDefault type
Name extends TypeNameTypeName
Reason extends objectobject

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
reasonreadonlyReasonThe detailed reason for the error, represented as a tagged union.-packages/common/src/Type.ts:264
typereadonlyName-TypeError.typepackages/common/src/Type.ts:248
valuereadonlyunknownThe value that was received and caused the error. Provides additional context for debugging and validation feedback.TypeError.valuepackages/common/src/Type.ts:254

Was this page helpful?