{"library":"grpc-create-error","type":"library","category":null,"description":"Utility package (v2.0.0) for creating Error objects with gRPC status codes and metadata. Works with the `grpc` and `@grpc/grpc-js` libraries. Provides a flexible function that accepts message, code, and metadata in various forms (string, number, Error instance, plain object). Low-activity project; last release May 2018. Simpler than full gRPC error classes; useful for quick error construction.","language":"javascript","status":"maintenance","version":"2.0.0","tags":["javascript","protocol buffer","protobuf","grpc","client"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install grpc-create-error","imports":["const createGRPCError = require('grpc-create-error')","const createGRPCError = require('grpc-create-error')","// @ts-ignore or install @types/grpc-create-error (none available). Use `any` or define own types."]},{"cmd":"yarn add grpc-create-error","imports":[]},{"cmd":"pnpm add grpc-create-error","imports":[]}],"homepage":"https://github.com/bojand/grpc-create-error","github":"https://github.com/bojand/grpc-create-error","docs":null,"changelog":null,"pypi":null,"npm":"grpc-create-error","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}