summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/dimensionxx
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-04-12 17:06:48 +0000
committerTavian Barnes <tavianator@gmail.com>2009-04-12 17:06:48 +0000
commit6cfdbf44cce0b0881d1811e7ec06c4e79e637c96 (patch)
tree185ce42e21f39d28611996bee6e10c109b3140ef /libdimensionxx/dimensionxx
parentb66a888acd9eb0b28c0e748c4506e267fe47360b (diff)
downloaddimension-6cfdbf44cce0b0881d1811e7ec06c4e79e637c96.tar.xz
Write C++ error handling wrapper.
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 */