import { HttpStatus } from "../enum"; /** * HttpException * @author ranyunlong<549510622@qq.com> * license MIT */ export interface Properties { [key: string]: any; } export interface HttpExceptionOptions { status?: HttpStatus; message?: string; properties?: Properties | boolean; error?: Properties; } export interface HttpExceptionInterface extends Error { message: any; status?: HttpStatus; properties?: Properties | boolean; error?: Properties; } export declare class HttpException extends Error implements HttpExceptionInterface { message: any; status: HttpStatus; properties: Properties | boolean; error: Properties; constructor(options?: HttpExceptionOptions); }