Base class for custom errors throw by the API.

Hierarchy

Constructors

Properties

Constructors

  • Parameters

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

    Returns ApiError

Properties

innerError: any

Originating error (if present).

Generated using TypeDoc