summaryrefslogtreecommitdiff
path: root/include/exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/exception.h')
-rw-r--r--include/exception.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/exception.h b/include/exception.h
index 671df9e..aff0afc 100644
--- a/include/exception.h
+++ b/include/exception.h
@@ -75,6 +75,16 @@ public:
// yes, it is native
return true;
}
+
+ /**
+ * Report this error as a fatal error
+ * @return bool
+ */
+ virtual bool report() const
+ {
+ // this is not done here
+ return false;
+ }
};
/**