Skip to content

PreconditionFailed

@tsed/exceptions

Usage

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

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

Overview

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

static readonly STATUS

ts
static readonly STATUS = 412;

Released under the MIT License.