FieldIssue
Defined in: packages/schema/src/prepare.ts:37
Thrown by .prepare() to refuse a write: it answers 422 with the field named.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FieldIssue(
field,message):FieldIssue
Defined in: packages/schema/src/prepare.ts:38
Parameters
Section titled “Parameters”string
The field it is about.
message
Section titled “message”string
What is wrong, for the user.
Returns
Section titled “Returns”FieldIssue
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”
readonlyfield:string
Defined in: packages/schema/src/prepare.ts:40
The field it is about.