Skip to content

BadRequest

@tsed/exceptions

Usage

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

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

Overview

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

static readonly STATUS

ts
static readonly STATUS = 400;

Released under the MIT License.