UNPKG

443 BTypeScriptView Raw
1import { ArgumentsHost, RpcExceptionFilter } from '@nestjs/common';
2import { Observable } from 'rxjs';
3/**
4 * @publicApi
5 */
6export declare class BaseRpcExceptionFilter<T = any, R = any> implements RpcExceptionFilter<T> {
7 private static readonly logger;
8 catch(exception: T, host: ArgumentsHost): Observable<R>;
9 handleUnknownError(exception: T, status: string): Observable<never>;
10 isError(exception: any): exception is Error;
11}