mirror of
https://github.com/helm/helm.git
synced 2026-08-04 15:10:47 +00:00
added / documented common errors
This commit is contained in:
@@ -22,9 +22,11 @@ import (
|
||||
|
||||
var (
|
||||
// ErrReleaseNotFound indicates that a release is not found.
|
||||
ErrReleaseNotFound = errors.New("release not found")
|
||||
// Temporary error while WIP.
|
||||
ErrNotImplemented = errors.New("not implemented")
|
||||
ErrReleaseNotFound = errors.New("release: not found")
|
||||
// ErrReleaseExists indicates that a release already exists.
|
||||
ErrReleaseExists = errors.New("release: already exists")
|
||||
// ErrDriverAction indicates the storage driver failed to execute the requested action.
|
||||
ErrDriverAction = errors.New("driver: failed to perform action")
|
||||
)
|
||||
|
||||
// Creator stores a release.
|
||||
@@ -60,4 +62,4 @@ type Driver interface {
|
||||
Updator
|
||||
Deletor
|
||||
Queryor
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user