Class: APIError

APIError(message, code)

Error thrown when the ID Analyzer API returns an error payload and exception throwing is enabled via _ApiParent#throwApiException.

Constructor

new APIError(message, code)

Parameters:
Name Type Description
message string Human-readable error message from the API.
code number | string Machine-readable error code from the API.
Source:

Extends

  • Error

Classes

APIError

Members

code :number|string

Machine-readable error code from the API.
Type:
  • number | string
Source:

msg :string

Human-readable error message from the API.
Type:
  • string
Source: