Commit fad498e8 authored by fibonacci1729's avatar fibonacci1729

added / documented common errors

parent 967e438b
......@@ -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
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment