summaryrefslogtreecommitdiffabout
path: root/include/opkele/exception.h
Side-by-side diff
Diffstat (limited to 'include/opkele/exception.h') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/exception.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/opkele/exception.h b/include/opkele/exception.h
index 0150e6b..753a818 100644
--- a/include/opkele/exception.h
+++ b/include/opkele/exception.h
@@ -213,4 +213,13 @@ namespace opkele {
};
+ /**
+ * internal error, indicates internal libopkele problem
+ */
+ class internal_error : public exception {
+ public:
+ internal_error(OPKELE_E_PARS)
+ : exception(OPKELE_E_CONS) { }
+ };
+
}