# BadGateway Class

Module
import { BadGateway } from "@tsed/exceptions"
Source/packages/exceptions/src/serverErrors/BadGateway.ts

# Overview

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