mirror of
https://github.com/distribution/distribution.git
synced 2026-01-15 14:58:57 +00:00
To bring ErrorCode into liine with Go conventions, ErrorCode.Error() now returns the "nice" value of the error code. This ensures error message assembly works similar to commonly used Go conventions when directly using ErrorCode as an error. Signed-off-by: Stephen J Day <stephen.day@docker.com>