Skip to main content

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: 404
statusinteger

Echoes the HTTP status code (alias of code for legacy consumers).

Example: 404
ErrorDetail
{
"detail": "Category not found.",
"code": 404,
"status": 404
}