1
0
mirror of https://github.com/openshift/image-registry.git synced 2026-02-05 18:45:15 +01:00
Files
image-registry/pkg/errors
Gladkov Alexey c91b15cdff New error policy
* Internal modules return only their own errors. All downstream errors
are converted. In this case, the module needs to check only N-1 level
errors.

* Do not convert errors from internal functions. They must return the
correct errors.

* When converting an error with loss of context, it is necessary to
write the previous error to the log.

Signed-off-by: Gladkov Alexey <agladkov@redhat.com>
2018-07-06 12:14:12 +02:00
..
2018-07-06 12:14:12 +02:00