1.1.6 • Published 3 years ago
grpc-errors v1.1.6
grpc-errors
A quick and easy way of generating errors for use with grpc
Installation
npm install --save grpc-errorsUsage
const grpcErrors = require('grpc-errors');
// Code...
var err = new grpcErrors.AlreadyExistsError('The file already exists!');Errors
CancelledErrorUnknownErrorInvalidArgumentErrorDeadlineExceededErrorNotFoundErrorAlreadyExistsErrorPermissionDeniedErrorUnauthenticatedErrorResourceExhaustedErrorFailedPreconditionErrorAbortedErrorOutOfRangeErrorUnimplementedErrorInternalErrorUnavailableErrorDataLossErrorUnauthenticatedError