Need private packages and team management tools?Check out npm Teams »

grpc-errors

1.1.4 • Public • Published

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

Keywords

Install

npm i grpc-errors

DownloadsWeekly Downloads

269

Version

1.1.4

License

MIT

Unpacked Size

4.29 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar