TooManyRequestsError returns 429 ApiError.

Hierarchy

Implements

Constructors

Methods

Properties

Constructors

  • Parameters

    • Optional message: string
    • Optional data: any

    Returns TooManyRequestsError

Methods

  • Error makes it compatible with the error interface.

    Returns string

  • Is reports whether the current ApiError wraps the target.

    Parameters

    • target: Error

    Returns boolean

  • RawData returns the unformatted error data (could be an internal error, text, etc.)

    Returns any

Properties

message: string
status: number

Generated using TypeDoc