{"library":"grpc-web-error-details","type":"library","category":null,"description":"Deserializes `grpc-status-details-bin` metadata from gRPC-Web errors into Google's richer error model (Status + typed error details like BadRequest, RetryInfo). Version 1.1.0, stable with sporadic updates. Requires `grpc-web` (>=1.2.1) and `google-protobuf` (>=3.15.8). Uses `instanceof` type guards for TypeScript. Unlike `@stackpath/node-grpc-error-details` for Node, this is specifically for browser gRPC-Web clients.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript","grpc","grpc-web","error-details","Richer Error Model","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install grpc-web-error-details","imports":["import { statusFromError } from 'grpc-web-error-details'","import { BadRequest } from 'grpc-web-error-details'","import { Status } from 'grpc-web-error-details'"]},{"cmd":"yarn add grpc-web-error-details","imports":[]},{"cmd":"pnpm add grpc-web-error-details","imports":[]}],"homepage":"https://github.com/shumbo/grpc-web-error-details","github":"https://github.com/shumbo/grpc-web-error-details","docs":null,"changelog":null,"pypi":null,"npm":"grpc-web-error-details","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}