Skip to content

NotAcceptable

@tsed/exceptions

Usage

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

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

Overview

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

static readonly STATUS

ts
static readonly STATUS = 406;

Released under the MIT License.