grpc-errors
v1.1.6
Published
Create GRPC errors
Downloads
1,037
Readme
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