Skip to content

MisdirectedRequest

@tsed/exceptions

Usage

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

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

Overview

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

static readonly STATUS

ts
static readonly STATUS = 421;

Released under the MIT License.