-
Notifications
You must be signed in to change notification settings - Fork 199
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
At the moment, a GRPC exception can be created as
// Without Description
throw new GrpcStatusException(GrpcStatusCode.PERMISSION_DENIED.status());
// With Description
throw new GrpcStatusException(new GrpcStatus(GrpcStatusCode.PERMISSION_DENIED, "my-description"));Other GRPC implementations provide convenience methods like:
throw PERMISSION_DENIED.withDescription("denied!").asException();We could potentially add something similar to streamline exception generation (also including withCause, etc).
dondod and 82baras
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers