API reference / @evolu/common / Type / TypeError
Interface: TypeError<Name>
Defined in: packages/common/src/Type.ts:391
Extended by
TypeErrorWithReasonStringErrorNumberErrorBigIntErrorBooleanErrorUndefinedErrorNullErrorFunctionErrorUint8ArrayErrorInstanceOfErrorEvoluTypeErrorBrandWithoutRefineErrorCurrencyCodeErrorDateIsoErrorTrimmedErrorMinLengthErrorMaxLengthErrorLengthErrorMnemonicErrorRegexErrorBase64UrlErrorSimpleNameErrorIdErrorTableIdErrorPositiveErrorNegativeErrorNonPositiveErrorNonNegativeErrorIntErrorGreaterThanErrorLessThanErrorGreaterThanOrEqualToErrorLessThanOrEqualToErrorNonNaNErrorFiniteErrorMultipleOfErrorBetweenErrorLiteralErrorUnionErrorInt64ErrorInt64StringErrorJsonErrorValidMutationSizeError
Type Parameters
| Type Parameter | Default type |
|---|---|
Name extends TypeName | TypeName |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
type | readonly | Name | - | packages/common/src/Type.ts:392 |
value | readonly | unknown | The value that was received and caused the error. Provides additional context for debugging and validation feedback. | packages/common/src/Type.ts:398 |