Error Signaling

The services makes use of the HTTP Status Codes to report the outcome of each API call. The status codes are complemented by a consistent response data model for reporting client and system level failures.

Format
{
  "@context": {
    "@vocab": "{{base}}/voc/nexus/core"
  },
  "code": "<a machine readable unique code>",
  "message": "<a human readable description of the error>"
}
Full source at GitHub
Example
{
  "@context": {
    "@vocab": "{{base}}/voc/nexus/core"
  },
  "code": "IllegalFilterFormat",
  "message": "Unable to parse 'path' as an uri",
  "field": "DownField(filter)/DownField(path)"
}
Full source at GitHub

While the format only specifies _code and _message fields, additional fields may be presented for additional information in certain scenarios.