If you omit the "type", the message has no additional semantics beyond that of
the HTTP status code. So this provides a standard for error responses with JSON bodies:
{
"title": "Not Found",
"status": 404,
"detail": "The file you are looking for doesn't exist."
}
If you omit the "type", the message has no additional semantics beyond that of the HTTP status code. So this provides a standard for error responses with JSON bodies: