forked from TrueCloudLab/distribution
The toolkit to pack, ship, store, and deliver container content
da7eef2e04
This has Errors implement the error interface, allowing it to pose as an error itself. Use of this in the server may be minimal, for now, but it's useful for passing around opaque client errors. A method, PushErr, has also been add to allow arbitrary errors to be passed into the Errors list. This keeps the errors list flexible, allowing the app to collect and errors before we have codes properly mapped. |
||
---|---|---|
cmd | ||
configuration | ||
open-design | ||
storagedriver | ||
.travis.yml | ||
CONTRIBUTING.md | ||
errors.go | ||
errors_test.go | ||
LICENSE | ||
MAINTAINERS | ||
routes.go | ||
routes_test.go |