RFC 7807 Problem Details in HTTP API

Back

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
}

Reference