weaveworks / common

Libraries used in multiple Weave projects
Other
129 stars 92 forks source link

grpc: use errors.Is to check if error is Canceled #292

Closed bboreham closed 1 year ago

bboreham commented 1 year ago

This improves behaviour when one error wraps another.

bboreham commented 1 year ago

I'm going to merge this even though CI is broken; I'll check it out in my larger project and fix up if it's wrong.