Class IMXError

Custom Error class that is returned from the API when a request fails

Hierarchy

  • Error
    • IMXError

Constructors

  • Parameters

    • __namedParameters: APIError

    Returns IMXError

Properties

prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number
code: string
details?: string
name: string
message: string
stack?: string
cause?: unknown

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void