RFC 7807 Problem Details in HTTP API
RFC 7807 Problem Details in HTTP API
First Read
Found this in my GitHub feed
A response of type application/problem+json
would contain the status code and the title of the error, if needed detail
// application/problem+json
// Problem.valueOf(Status.NOT_FOUND);
{
"title": "Not Found",
"status": 404
}