Skip to content

NotFound

@tsed/exceptions

Usage

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

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

Overview

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

static readonly STATUS

ts
static readonly STATUS = 404;

Released under the MIT License.