Skip to content

BadMapping

@tsed/exceptions

Usage

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

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

Overview

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

static readonly STATUS

ts
static readonly STATUS = 421;

name

ts
name: string;

Released under the MIT License.