UNPKG

@takentrade/takentrade-libs

Version:
11 lines (10 loc) 426 B
import { RpcExceptionFilter, ArgumentsHost } from '@nestjs/common'; import { Observable } from 'rxjs'; import { RpcException } from '@nestjs/microservices'; /** * TNT RPC Exception Filter * Standardizes error handling and propagation in microservice communication */ export declare class TntRpcExceptionFilter implements RpcExceptionFilter<RpcException> { catch(exception: any, host: ArgumentsHost): Observable<any>; }