1 | import { ArgumentsHost, RpcExceptionFilter } from '@nestjs/common';
|
2 | import { Observable } from 'rxjs';
|
3 | /**
|
4 | * @publicApi
|
5 | */
|
6 | export 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 | }
|