@tsclean/core
Version:
Plugin for API Rest Full development, based on Clean Architecture, IoC and Dependency Injection.
10 lines • 620 B
TypeScript
import { ArgumentsHostInterface, ExceptionFilterMetadataInterface } from '../../contracts';
import { BaseWsExceptionFilter } from './base-ws-exception-filter';
import { WsException } from '../../websockets/utils/ws-exception';
export declare class WsExceptionsHandler extends BaseWsExceptionFilter {
private filters;
handle(exception: Error | WsException | any, host: ArgumentsHostInterface): void;
setCustomFilters(filters: ExceptionFilterMetadataInterface[]): void;
invokeCustomFilters<T = any>(exception: T, args: ArgumentsHostInterface): boolean;
}
//# sourceMappingURL=ws-exceptions-handler.d.ts.map