Even if it is not defined in the HTTP_CODE_FROM_GRPC map, GrpcToHttpInterceptor always throws HttpException().
Even if the exception is not defined in the GRPC_CODE_FROM_HTTP map, HttpToGrpcInterceptor has always been modified to throw RpcException ().
Instead of defining the GRPC_EXCEPTION_FROM_HTTP exception map, I defined the GRPC_CODE_FROM_HTTP code map as HTTP_CODE_FROM_GRPC.
I added test/interceptors/http-to-grpc-interceptor.spec.ts test code for HttpToGrpcInterceptor.
First, I am well using the nestjs-grpc-exceptions package. thank you
Even if it is not defined in the HTTP_CODE_FROM_GRPC map, GrpcToHttpInterceptor always throws HttpException(). Even if the exception is not defined in the GRPC_CODE_FROM_HTTP map, HttpToGrpcInterceptor has always been modified to throw RpcException ().
Instead of defining the GRPC_EXCEPTION_FROM_HTTP exception map, I defined the GRPC_CODE_FROM_HTTP code map as HTTP_CODE_FROM_GRPC.
I added test/interceptors/http-to-grpc-interceptor.spec.ts test code for HttpToGrpcInterceptor.