Class RatelimitError

Hierarchy

  • Error
    • RatelimitError

Constructors

Properties

cause?: unknown
message: string

The message of this error

name: string

The type of error (RatelimitError)

remaining: number

The time remaining for your ratelimit to expire in milliseconds

stack?: string
status: number

HTTP status of the error

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

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc