haoyun
bbe46b8c43
feat: replace github.com/pkg/errors to errors
...
Signed-off-by: haoyun <yun.hao@daocloud.io>
Co-authored-by: zounengren <zouyee1989@gmail.com>
2022-01-07 10:27:03 +08:00
Sebastiaan van Stijn
dc92ad6520
Replace errors.Cause() with errors.Is()
...
Dependencies may be switching to use the new `%w` formatting
option to wrap errors; switching to use `errors.Is()` makes
sure that we are still able to unwrap the error and detect the
underlying cause.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-05-08 14:36:45 +02:00
Justin Terry (VM)
ac4485c76a
Add support to gRPC errdefs for context cancel/deadline exceeded
...
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-05-28 17:02:29 -07:00
Kunal Kushwaha
b12c3215a0
Licence header added
...
Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
2018-02-19 10:32:26 +09:00
Daniel Nephin
dab3ba2aff
Replace calls to deprecated grpc functions
...
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-11-28 15:12:05 -05:00
Stephen J Day
397f405f63
errdefs: add tests error conversions
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-06-30 11:51:41 -07:00