github.com/ssdev-go/moby@v17.12.1-ce-rc2+incompatible/reference/errors.go (about) 1 package reference 2 3 type notFoundError string 4 5 func (e notFoundError) Error() string { 6 return string(e) 7 } 8 9 func (notFoundError) NotFound() {} 10 11 type invalidTagError string 12 13 func (e invalidTagError) Error() string { 14 return string(e) 15 } 16 17 func (invalidTagError) InvalidParameter() {} 18 19 type conflictingTagError string 20 21 func (e conflictingTagError) Error() string { 22 return string(e) 23 } 24 25 func (conflictingTagError) Conflict() {}