/** * 核心异常类 * GatewayTimeoutException * code 504 * @author ranyunlong<549510622@qq.com> * license MIT */ import { HttpException, Properties } from "./HttpException"; import { HttpStatus } from "../enum"; /** * @code 504 */ export class GatewayTimeoutException extends HttpException { constructor(properties?: Properties | boolean, error?: Properties, message?: string) { super({ message, properties, error, status: HttpStatus.GATEWAY_TIMEOUT }) } }