PlutocracyMercury developer docs

ApiErrorResponse

Error envelope produced by the server's HttpErrorFilter for all thrown HttpExceptions (pinned by e2e tests).

Type: object

FieldTypeDescription
codenumber
errorstring
message optionalstring
methodstring
pathstring
timestampstring
Example (illustrative)
{
  "code": 1,
  "error": "string",
  "message": "string",
  "method": "string",
  "path": "string",
  "timestamp": "string"
}

Used by

Declared in api-types/src/common.ts.