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