summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/dimensionxx
diff options
context:
space:
mode:
Diffstat (limited to 'libdimensionxx/dimensionxx')
-rw-r--r--libdimensionxx/dimensionxx/error.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/libdimensionxx/dimensionxx/error.hpp b/libdimensionxx/dimensionxx/error.hpp
index a6a4ca6..072949f 100644
--- a/libdimensionxx/dimensionxx/error.hpp
+++ b/libdimensionxx/dimensionxx/error.hpp
@@ -25,6 +25,14 @@
namespace Dimension
{
+ enum Severity {
+ SEVERITY_LOW = DMNSN_SEVERITY_LOW,
+ SEVERITY_MEDIUM = DMNSN_SEVERITY_MEDIUM,
+ SEVERITY_HIGH = DMNSN_SEVERITY_HIGH
+ };
+
+ Severity resilience();
+ void resilience(Severity resilience);
}
#endif /* DIMENSIONXX_ERROR_HPP */