-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, then error method of the Then struct takes an HTTP StatusCode (and a message).
But I did not find any way to return custom GRPC error using GRPC Code instead. So currently, I don't think there is a way to mock AlreadyExists or ResourceExhausted GRPC errors for example.
It would be nice to add a grpc_error method to the Then struct or whatever to support this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request