mirror of
https://github.com/project-zot/zot.git
synced 2025-01-06 22:40:28 -05:00
19 lines
761 B
Go
19 lines
761 B
Go
|
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")
|
||
|
)
|