Skip to main content

ValidationErrorModel

ctx object

An optional object which contains values required to render the error message.

anyOf
property name*any
inputInputrequired

The input provided for validation.

loc[]required

The error's location as a list.

msgMessagerequired

A human readable explanation of the error.

typeError Typerequired

A computer-readable identifier of the error type.

url object

The URL to further information about the error.

anyOf
string
ValidationErrorModel
{
"ctx": {},
"loc": [
null
],
"msg": "string",
"type": "string",
"url": "string"
}