Skip to content
Snippets Groups Projects
user avatar
Pavlo Strokov authored
The variations of the Err<StatusCode>() and Err<StatusCode>f()
functions don't verify if the passed in error wraps gRPC error
already on some nested level except the upper one only.
That is why initially error with InvalidArgument code could be
returned with Internal code and wrapped inside the message.
Now we travers the wrapped error chain and look for the status,
the first found becomes the final one for the gRPC.
85fa6786
Name Last commit Last update