summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index fd7c7618..9b2617ee 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -166,6 +166,12 @@ public:
~NotEncryptedError () throw () {}
};
+class ProgrammingError : public StringError
+{
+public:
+ ProgrammingError (std::string file, int line);
+};
+
}
#endif