1 | import { Observable } from 'rxjs';
|
2 | import { ArgumentsHost } from '@nestjs/common/interfaces/features/arguments-host.interface';
|
3 | import { RpcExceptionFilterMetadata } from '@nestjs/common/interfaces/exceptions';
|
4 | import { RpcException } from './rpc-exception';
|
5 | import { BaseRpcExceptionFilter } from './base-rpc-exception-filter';
|
6 |
|
7 |
|
8 |
|
9 | export declare class RpcExceptionsHandler extends BaseRpcExceptionFilter {
|
10 | private filters;
|
11 | handle(exception: Error | RpcException | any, host: ArgumentsHost): Observable<any>;
|
12 | setCustomFilters(filters: RpcExceptionFilterMetadata[]): void;
|
13 | invokeCustomFilters<T = any>(exception: T, host: ArgumentsHost): Observable<any> | null;
|
14 | }
|