Common interface for all validation errors.
kind
stringIdentifies the kind of error.
field
() => FieldState<unknown, string | number>The field associated with this error.
message
string | undefinedHuman readable error message.
Description
Common interface for all validation errors.
Use the creation functions to create an instance (e.g. requiredError, minError, etc.).
Jump to details