Skip to content

TooManyRequests

@tsed/exceptions

Usage

typescript
import { TooManyRequests } from "@tsed/exceptions";

See /packages/specs/exceptions/src/types/clientErrors/TooManyRequests.ts.

Overview

ts
class TooManyRequests extends ClientException {
    static readonly STATUS = 429;
    constructor(message: string, origin?: Error | string | any);
}

static readonly STATUS

ts
static readonly STATUS = 429;

Released under the MIT License.