summaryrefslogtreecommitdiff
path: root/libpod/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/errors.go')
-rw-r--r--libpod/errors.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod/errors.go b/libpod/errors.go
index 245445005..180ca51db 100644
--- a/libpod/errors.go
+++ b/libpod/errors.go
@@ -56,6 +56,10 @@ var (
// further operations can be performed on it
ErrPodRemoved = errors.New("pod has already been removed")
+ // ErrDBClosed indicates that the connection to the state database has
+ // already been closed
+ ErrDBClosed = errors.New("database connection already closed")
+
// ErrNotImplemented indicates that the requested functionality is not
// yet present
ErrNotImplemented = errors.New("not yet implemented")