@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.

Dependencies (0)

    Dev Dependencies (0)

      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