@types/grpc-error
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    203
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    703

Package Sidebar

Install

npm i @types/grpc-error

Weekly Downloads

747

Version

1.0.3

License

MIT

Unpacked Size

3.08 kB

Total Files

5

Last publish

Collaborators

  • types