distribution/registry/api/errcode
Josh Hawn 0f670bdc91 [api spec] Update authN and authZ errors
Associate HTTP 401s with Authentication errors rather than Authorization
errors. Changes the meaning of the UNAUTHORIZED error to be authentication
specific.

Defines DENIED error code to be associated with authorization
errors which result in HTTP 403 responses.

Add 'No Such Repository' errors to more endpoints.

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2015-09-30 09:12:31 -07:00
..
errors_test.go Make Error.Error() return the post-arg-substitution Message 2015-07-22 12:44:59 -07:00
errors.go Make Error.Error() return the post-arg-substitution Message 2015-07-22 12:44:59 -07:00
handler.go Export ServeJSON for serving error codes 2015-07-16 12:14:14 -07:00
register.go [api spec] Update authN and authZ errors 2015-09-30 09:12:31 -07:00