import { HttpException } from '@nestjs/common'; import { ExampleObject } from '@nestjs/swagger/dist/interfaces/open-api-spec.interface'; import { IHandlingParams, IType } from '../common/types'; export declare class CaughtException { protected name: string; private readonly logger; type: string; code: string; message: string; reason: string | undefined | Error; resolve: string | undefined; statusCode: number | undefined; constructor(payload: IHandlingParams); protected filter(type: IType, message: string, id: string, context?: string | Error | Record): string; log(message?: any, id?: string, context?: string): void; warn(message?: any, id?: string, context?: string): void; error(message?: any, id?: string, context?: string): void; errorAndTrow(message?: any, id?: string, context?: string): void; throw(id: string, details?: string | Error): void; toString(details?: string): string; asHttpException(details?: string | Error): HttpException; static getAll(type: any, statusCode: number): Record; }