github.com/fntlnz/docker@v1.9.0-rc3/errors/image.go (about) 1 package errors 2 3 // This file contains all of the errors that can be generated from the 4 // docker/image component. 5 6 import ( 7 "net/http" 8 9 "github.com/docker/distribution/registry/api/errcode" 10 ) 11 12 var ( 13 // ErrorCodeInvalidImageID is generated when image id specified is incorrectly formatted. 14 ErrorCodeInvalidImageID = errcode.Register(errGroup, errcode.ErrorDescriptor{ 15 Value: "INVALIDIMAGEID", 16 Message: "image ID '%s' is invalid ", 17 Description: "The specified image id is incorrectly formatted", 18 HTTPStatusCode: http.StatusInternalServerError, 19 }) 20 )