Problem Details for HTTP APIs (RFC 9457)
Official docs outline
6 sections- Problem details JSON object
The object structure and media types application/problem+json and +xml.
- Members of a problem details object
type, status, title, detail and instance members.
- Extension members
Adding custom fields such as validation errors.
- Defining new problem types
Designing problem type URIs and documentation.
- Registered problem types
about:blank and when to use it.
- Security considerations
Avoiding leaking sensitive details and mixing status codes.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.