1 | import { ArgumentsHost } from '@nestjs/common';
|
2 | import { ExceptionFilterMetadata } from '@nestjs/common/interfaces/exceptions/exception-filter-metadata.interface';
|
3 | import { WsException } from '../errors/ws-exception';
|
4 | import { BaseWsExceptionFilter } from './base-ws-exception-filter';
|
5 |
|
6 |
|
7 |
|
8 | export declare class WsExceptionsHandler extends BaseWsExceptionFilter {
|
9 | private filters;
|
10 | handle(exception: Error | WsException | any, host: ArgumentsHost): void;
|
11 | setCustomFilters(filters: ExceptionFilterMetadata[]): void;
|
12 | invokeCustomFilters<T = any>(exception: T, args: ArgumentsHost): boolean;
|
13 | }
|