grpc-exception

JSON →
library 1.0.2 ·javascript
verified Jun 7, 2026

Provides predefined gRPC exception classes for Node.js, mapping each gRPC status code (e.g., NotFound, InvalidArgument) to an error class with a corresponding `code` property. Version 1.0.2 is stable with no recent updates. This is a lightweight alternative to manually setting error codes, but minimal download popularity indicates niche or hobbyist use. Does not integrate with @grpc/grpc-js error handling.