/** * @description this is a custom error class */ declare class CustomError extends Error { statusCode: number; details: any; /** * * @param message this is the message * @param status this is the status code * @param details if you need to set some details about your error */ constructor(message: string, status: number, details?: any); /** * @description this is the function to serialize error */ serializeError(): void; } export default CustomError; //# sourceMappingURL=custom-error.d.ts.map