Skip to content

ortoo/grpc-errors

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •