summaryrefslogtreecommitdiffabout
path: root/include/opkele/exception.h
Unidiff
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
@@ -212,6 +212,15 @@ namespace opkele {
212 : exception(OPKELE_E_CONS) { } 212 : exception(OPKELE_E_CONS) { }
213 }; 213 };
214 214
215 /**
216 * internal error, indicates internal libopkele problem
217 */
218 class internal_error : public exception {
219 public:
220 internal_error(OPKELE_E_PARS)
221 : exception(OPKELE_E_CONS) { }
222 };
223
215} 224}
216 225
217#endif /* __OPKELE_EXCEPTION_H */ 226#endif /* __OPKELE_EXCEPTION_H */