Base class for custom errors throw by the API.

Hierarchy

Constructors

Properties

Constructors

  • new ApiError(message?: string, innerError?: any): ApiError
  • Parameters

    • message: string = 'An unexpected error has occurred'
    • Optional innerError: any

    Returns ApiError

Properties

innerError: any

Originating error (if present).

Generated using TypeDoc