Skip to content

InternalServerError

@tsed/exceptions

Usage

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

See /packages/specs/exceptions/src/types/serverErrors/InternalServerError.ts.

Overview

ts
class InternalServerError extends ServerException {
    static readonly STATUS = 500;
    constructor(message: string, origin?: Error | string | any);
}

static readonly STATUS

ts
static readonly STATUS = 500;

Released under the MIT License.