1 | import { ArgumentsHost, WsExceptionFilter } from '@nestjs/common';
|
2 |
|
3 |
|
4 |
|
5 | export declare class BaseWsExceptionFilter<TError = any> implements WsExceptionFilter<TError> {
|
6 | private static readonly logger;
|
7 | catch(exception: TError, host: ArgumentsHost): void;
|
8 | handleError<TClient extends {
|
9 | emit: Function;
|
10 | }>(client: TClient, exception: TError): void;
|
11 | handleUnknownError<TClient extends {
|
12 | emit: Function;
|
13 | }>(exception: TError, client: TClient): void;
|
14 | isExceptionObject(err: any): err is Error;
|
15 | }
|