Installation
npm install --save @types/grpc-error
Summary
This package contains type definitions for grpc-error (https://github.com/bojand/grpc-error).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/grpc-error.
index.d.ts
declare class GRPCError extends Error {
constructor(value: string | object);
constructor(message: string, value: number | object);
constructor(message: string, code: number, metadata: object);
code: number;
metadata: object;
}
export = GRPCError;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Daniel Byrne.