ErrorDetail¶
- pydantic model safir.models.ErrorDetail¶
The detail of the error message.
- Parameters:
data (
Any
)
Show JSON schema
{ "title": "ErrorDetail", "description": "The detail of the error message.", "type": "object", "properties": { "loc": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "examples": [ [ "area", "field" ] ], "title": "Location" }, "msg": { "examples": [ "Some error messge" ], "title": "Message", "type": "string" }, "type": { "examples": [ "some_code" ], "title": "Error type", "type": "string" } }, "required": [ "msg", "type" ] }