@typed-discord/rest
    Preparing search index...

    Interface RatelimitedResponse

    A single error, either for an API response or a specific field.

    interface RatelimitedResponse {
        code: number;
        global: boolean;
        message: string;
        retry_after: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    code: number

    Discord internal error code. See error code reference

    global: boolean

    Whether you are being ratelimited by the global ratelimit or a per-endpoint ratelimit

    message: string

    Human-readable error message

    retry_after: number

    The number of seconds to wait before retrying your request