import { CustomError } from "../CustomError" ; export class BadGateway extends CustomError { constructor ( message = "Bad Gateway" , errorCode = 502 , originalError ? ) { super ( message , 502 , errorCode , originalError ) ; } }