Skip to content

BadGateway

@tsed/exceptions

Usage

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

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

Overview

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

static readonly STATUS

ts
static readonly STATUS = 502;

Released under the MIT License.