Skip to content

FieldIssue

Defined in: packages/schema/src/prepare.ts:37

Thrown by .prepare() to refuse a write: it answers 422 with the field named.

  • Error

new FieldIssue(field, message): FieldIssue

Defined in: packages/schema/src/prepare.ts:38

string

The field it is about.

string

What is wrong, for the user.

FieldIssue

Error.constructor

readonly field: string

Defined in: packages/schema/src/prepare.ts:40

The field it is about.