moby/errdefs
Sebastiaan van Stijn 4a516215e2
errdefs: convert containerd errors to the correct status code
In situations where the containerd error is consumed directly
and not received over gRPC, errors were not translated.

This patch converts containerd errors to the correct HTTP
status code.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-07-15 20:36:57 +02: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: convert containerd errors to the correct status code 2019-07-15 20:36:57 +02: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