{"library":"grpc-exception","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install grpc-exception","imports":["import { Ok } from 'grpc-exception'","import { Cancelled } from 'grpc-exception'","import { NotFound } from 'grpc-exception'"]},{"cmd":"yarn add grpc-exception","imports":[]},{"cmd":"pnpm add grpc-exception","imports":[]}],"homepage":"https://github.com/AlfieriChou/grpc-exception#readme","github":"https://github.com/AlfieriChou/grpc-exception","docs":null,"changelog":null,"pypi":null,"npm":"grpc-exception","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}