Skip to content

Gone

@tsed/exceptions

Usage

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

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

Overview

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

static readonly STATUS

ts
static readonly STATUS = 410;

Released under the MIT License.