about summary refs log tree commit diff
path: root/src/libstore/db.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/db.hh')
-rw-r--r--src/libstore/db.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstore/db.hh b/src/libstore/db.hh
index bbeabfc7dfa4..d566fdad1e1c 100644
--- a/src/libstore/db.hh
+++ b/src/libstore/db.hh
@@ -87,4 +87,11 @@ public:
 };
 
 
+class DbNoPermission : public Error
+{
+public:
+    DbNoPermission(const format & f) : Error(f) { };
+};
+
+
 #endif /* !__DB_H */