6. Handling Errors

Handling Errors

HAT JS error response:

{
  cause: string,   // The cause of the error.
  message: string, // The message of the error.
  status: number   // When the cause is HAT_API_EXCEPTION you can handle the HTTP response code.
}

Error Codes:

Last updated