grpc-error-status

JSON →
library 1.0.1 ·javascript
verified Jun 7, 2026

A utility library for decoding gRPC error details from the `grpc-status-details-bin` metadata. Version 1.0.1 (stable). Works with any gRPC client library that enriches errors with the `grpc-status-details-bin` trailer, including `@grpc/grpc-js`. Parses the binary protobuf content into a JavaScript object with typed details (e.g., RetryInfo, DebugInfo). No external runtime dependencies; all required protobuf types are bundled. Simpler alternative to manually using `google-rpc` protobufs.