Skip to main content

Domain error response carrying a stable, namespaced error slug. Emitted for most 4xx responses (business 400, 403, 404, 409, …) and for 503 when a downstream dependency is unavailable.

title
string

Short, human-readable summary of the problem.

status
integer

HTTP status code.

Required range: 100 <= x <= 599
detail
string

Human-readable explanation specific to this occurrence.

code
string

Stable, machine-readable error slug in the form "<resource>.<variant>".

  • resource is the camelCased domain — e.g. sequence, contact, inboxThread, blacklistDomainRule.
  • variant is the camelCased specific failure mode — e.g. notFound, forbidden, duplicateName, globalRuleReadOnly.

Use code for programmatic error handling; use detail for user-facing messages. Slugs are stable across server-side enum reorderings and never change meaning under a given resource.

Pattern: ^[a-z][a-zA-Z0-9]*(\.[a-z][a-zA-Z0-9]*)+$
Example:

"sequence.notFound"