UNPKG

382 BTypeScriptView Raw
1import { ContextType } from '@nestjs/common/interfaces';
2import { ExternalExceptionsHandler } from '../exceptions/external-exceptions-handler';
3export declare class ExternalErrorProxy {
4 createProxy<TContext extends string = ContextType>(targetCallback: (...args: any[]) => any, exceptionsHandler: ExternalExceptionsHandler, type?: TContext): (...args: any[]) => Promise<any>;
5}