UNPKG

@nestjs/websockets

Version:

Nest - modern, fast, powerful node.js web framework (@websockets)

16 lines (15 loc) 550 B
import { ArgumentsHost, WsExceptionFilter } from '@nestjs/common'; /** * @publicApi */ export declare class BaseWsExceptionFilter<TError = any> implements WsExceptionFilter<TError> { private static readonly logger; catch(exception: TError, host: ArgumentsHost): void; handleError<TClient extends { emit: Function; }>(client: TClient, exception: TError): void; handleUnknownError<TClient extends { emit: Function; }>(exception: TError, client: TClient): void; isExceptionObject(err: any): err is Error; }