Minima.js API / @minimajs/schema / / ValidatorErrorOptions
Interface: ValidatorErrorOptions
Defined in: packages/schema/src/error.ts:10
Options for creating a validation error. Extends HTTP error options with validation-specific properties.
Extends
Omit<HttpErrorOptions,"base">
Properties
base?
ts
optional base: unknown;Defined in: packages/schema/src/error.ts:14
The base error
cause?
ts
optional cause: unknown;Defined in: node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:22
Inherited from
ts
Omit.causecode?
ts
optional code: string;Defined in: packages/server/lib/error.d.ts:32
Inherited from
ts
Omit.codeheaders?
ts
optional headers: HeadersInit;Defined in: packages/server/lib/error.d.ts:35
Inherited from
ts
Omit.headersissues?
ts
optional issues: $ZodIssue[];Defined in: packages/schema/src/error.ts:12
Array of zod issues
message?
ts
optional message: string;Defined in: packages/server/lib/error.d.ts:31
Inherited from
ts
Omit.messagename?
ts
optional name: string;Defined in: packages/server/lib/error.d.ts:33
Inherited from
ts
Omit.name