ValidationError
Fields
Section titled “Fields”| Field | Type | Required | Description and constraints |
|---|---|---|---|
loc |
array of string or integer | Yes | |
msg |
string | Yes | |
type |
string | Yes | |
input |
any | No | |
ctx |
object | No |
JSON schema
Section titled “JSON schema”{ "properties": { "loc": { "items": { "anyOf": [ { "type": "string" }, { "type": "integer" } ] }, "type": "array", "title": "Location" }, "msg": { "type": "string", "title": "Message" }, "type": { "type": "string", "title": "Error Type" }, "input": { "title": "Input" }, "ctx": { "type": "object", "title": "Context" } }, "type": "object", "required": [ "loc", "msg", "type" ], "title": "ValidationError"}