moby/errdefs
Sebastiaan van Stijn b2694b459f
errdefs: remove unneeded recursive calls
The `statusCodeFromGRPCError` and `statusCodeFromDistributionError`
helpers are used by `GetHTTPErrorStatusCode`, which already recurses
if the error implements the `Causer` interface.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 32f4fdfb5c)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-01-17 10:10:03 +01:00
..
defs.go errdefs: remove "ErrAlreadyExists" because it's not an error 2019-03-21 21:25:15 +00:00
doc.go Add canonical import comment 2018-02-05 16:51:57 -05:00
helpers.go errdefs: remove "ErrAlreadyExists" because it's not an error 2019-03-21 21:25:15 +00:00
helpers_test.go errdefs: remove "ErrAlreadyExists" because it's not an error 2019-03-21 21:25:15 +00:00
http_helpers.go errdefs: remove unneeded recursive calls 2020-01-17 10:10:03 +01:00
http_helpers_test.go Move httputils error helpers to errdefs package 2019-03-16 00:42:23 +01:00
is.go errdefs: remove "ErrAlreadyExists" because it's not an error 2019-03-21 21:25:15 +00:00