{"library":"grpc-errors","type":"library","category":null,"description":"A utility library for creating gRPC error objects with standard gRPC status codes. Version 1.1.6 is the latest release, with no recent updates since 2019. It provides a simple factory for all 16 gRPC error types (e.g., AlreadyExistsError, NotFoundError) as error subclasses. Unlike manually constructing gRPC errors, this package ensures correct status codes and messages. It ships TypeScript types and supports ESM via import. Suitable for Node.js gRPC servers.","language":"javascript","status":"maintenance","version":"1.1.6","tags":["javascript","grpc","errors","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install grpc-errors","imports":["import { AlreadyExistsError } from 'grpc-errors'","import * as grpcErrors from 'grpc-errors'","import { CancelledError } from 'grpc-errors'"]},{"cmd":"yarn add grpc-errors","imports":[]},{"cmd":"pnpm add grpc-errors","imports":[]}],"homepage":"https://github.com/ortoo/grpc-errors#readme","github":"https://github.com/ortoo/grpc-errors","docs":null,"changelog":null,"pypi":null,"npm":"grpc-errors","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}