2019-06-20 18:36:40 -05:00
|
|
|
package errors
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
|
|
|
var (
|
|
|
|
ErrBadConfig = errors.New("config: invalid config")
|
|
|
|
ErrRepoNotFound = errors.New("repository: not found")
|
|
|
|
ErrRepoIsNotDir = errors.New("repository: not a directory")
|
|
|
|
ErrRepoBadVersion = errors.New("repository: unsupported layout version")
|
|
|
|
ErrManifestNotFound = errors.New("manifest: not found")
|
|
|
|
ErrBadManifest = errors.New("manifest: invalid contents")
|
|
|
|
ErrUploadNotFound = errors.New("uploads: not found")
|
|
|
|
ErrBadUploadRange = errors.New("uploads: bad range")
|
|
|
|
ErrBlobNotFound = errors.New("blob: not found")
|
|
|
|
ErrBadBlob = errors.New("blob: bad blob")
|
|
|
|
ErrBadBlobDigest = errors.New("blob: bad blob digest")
|
|
|
|
ErrUnknownCode = errors.New("error: unknown error code")
|
2019-08-27 17:01:29 -05:00
|
|
|
ErrBadCACert = errors.New("tls: invalid ca cert")
|
2019-06-20 18:36:40 -05:00
|
|
|
)
|