Errors

If the Operator cannot process a request, it must return an HTTP status code outside the 2XX range.

If a 2XX status is returned, THNDR will assume the operation was successful.

Expected Response Body

{
  "errors": [
    {
      "code": "ERROR_CODE",
      "isClientSafe": true
    }
  ]
}
  • code - Refer to the appropriate request documentation above for valid error codes.

  • isClientSafe (optional) - Indicates whether the error message can be safely displayed to the user. Defaults to false.

Example

{
  "errors": [
    {
      "code": "INSUFFICIENT_BALANCE",
      "isClientSafe": true
    }
  ]
}

Last updated