summaryrefslogtreecommitdiff
path: root/libpod/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/errors.go')
-rw-r--r--libpod/errors.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/errors.go b/libpod/errors.go
index 180ca51db..782104cf0 100644
--- a/libpod/errors.go
+++ b/libpod/errors.go
@@ -59,6 +59,9 @@ var (
// ErrDBClosed indicates that the connection to the state database has
// already been closed
ErrDBClosed = errors.New("database connection already closed")
+ // ErrDBBadConfig indicates that the database has a different schema or
+ // was created by a libpod with a different config
+ ErrDBBadConfig = errors.New("database configuration mismatch")
// ErrNotImplemented indicates that the requested functionality is not
// yet present