{"library":"nestjs-grpc-exceptions","type":"library","category":null,"description":"A lightweight library (v0.2.2) for NestJS that provides gRPC exception wrappers corresponding to standard gRPC status codes (e.g., NotFound, InvalidArgument). It includes a server-side exception filter (GrpcServerExceptionFilter) to automatically convert thrown exceptions to gRPC errors, and client-side interceptors (GrpcToHttpInterceptor, HttpToGrpcInterceptor) to bridge between HTTP and gRPC error formats. Requires @grpc/grpc-js, @nestjs/common, @nestjs/core, and @nestjs/microservices as peer dependencies. Compatible with NestJS 9 and 10. Actively maintained with TypeScript types included.","language":"javascript","status":"active","version":"0.2.2","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install nestjs-grpc-exceptions","imports":["import { GrpcServerExceptionFilter } from 'nestjs-grpc-exceptions'","import { GrpcNotFoundException } from 'nestjs-grpc-exceptions'","import { GrpcToHttpInterceptor } from 'nestjs-grpc-exceptions'"]},{"cmd":"yarn add nestjs-grpc-exceptions","imports":[]},{"cmd":"pnpm add nestjs-grpc-exceptions","imports":[]}],"homepage":"https://github.com/mohsenbostan/nestjs-grpc-exceptions","github":"https://github.com/mohsenbostan/nestjs-grpc-exceptions","docs":null,"changelog":null,"pypi":null,"npm":"nestjs-grpc-exceptions","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}