Skip to content

ServiceUnavailable

@tsed/exceptions

Usage

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

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

Overview

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

static readonly STATUS

ts
static readonly STATUS = 503;

Released under the MIT License.