UNPKG

homebridge-config-ui-x

Version:

A web based management, configuration and control platform for Homebridge

11 lines (10 loc) 601 B
import { ArgumentsHost } from '@nestjs/common'; import { ExceptionFilterMetadata } from '@nestjs/common/interfaces/exceptions/exception-filter-metadata.interface'; import { WsException } from '../errors/ws-exception'; import { BaseWsExceptionFilter } from './base-ws-exception-filter'; export declare class WsExceptionsHandler extends BaseWsExceptionFilter { private filters; handle(exception: Error | WsException | any, host: ArgumentsHost): void; setCustomFilters(filters: ExceptionFilterMetadata[]): void; invokeCustomFilters<T = any>(exception: T, args: ArgumentsHost): boolean; }