Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.eslintrc
.gitattributes
.gitignore
LICENSE.md
Readme.md
index.d.ts
index.js
package-lock.json
package.json 1.1.4 Oct 29, 2019
test.js

Readme.md

grpc-errors

A quick and easy way of generating errors for use with grpc

Installation

npm install --save grpc-errors

Usage

const grpcErrors = require('grpc-errors');

// Code...
var err = new grpcErrors.AlreadyExistsError('The file already exists!');

Errors

  • CancelledError
  • UnknownError
  • InvalidArgumentError
  • DeadlineExceededError
  • NotFoundError
  • AlreadyExistsError
  • PermissionDeniedError
  • UnauthenticatedError
  • ResourceExhaustedError
  • FailedPreconditionError
  • AbortedError
  • OutOfRangeError
  • UnimplementedError
  • InternalError
  • UnavailableError
  • DataLossError
  • UnauthenticatedError
You can’t perform that action at this time.