ErrorDetail
Error body for 400, 401 and 404 responses.
detailstring
Human-readable error message.
Example:
Category not found.codeinteger
Echoes the HTTP status code.
Example:
404statusinteger
Echoes the HTTP status code (alias of code for legacy consumers).
Example:
404ErrorDetail
{
"detail": "Category not found.",
"code": 404,
"status": 404
}