Minima.js API / @minimajs/schema / / ValidatorErrorOptions
Interface: ValidatorErrorOptions
Options for creating a validation error. Extends HTTP error options with validation-specific properties.
Extends
Omit<HttpErrorOptions,"base">
Properties
base?
ts
optional base: unknown;The base error
cause?
ts
optional cause: unknown;Inherited from
ts
Omit.causecode?
ts
optional code: string;Inherited from
ts
Omit.codeheaders?
ts
optional headers: HeadersInit;Inherited from
ts
Omit.headersissues?
ts
optional issues: $ZodIssue[];Array of zod issues
message?
ts
optional message: string;Inherited from
ts
Omit.messagename?
ts
optional name: string;Inherited from
ts
Omit.name