API Error Builder

Build standardized API error responses

What it does

Generates error response JSON following standards like RFC 7807 (Problem Details) or JSON:API.

Inputs

Error format, Status, Title, Detail

Outputs

Standardized JSON error response

{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "detail": "The requested resource could not be found.",
  "instance": "/api/users/123"
}