diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-04-12 17:06:48 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-04-12 17:06:48 +0000 |
commit | 6cfdbf44cce0b0881d1811e7ec06c4e79e637c96 (patch) | |
tree | 185ce42e21f39d28611996bee6e10c109b3140ef /libdimensionxx/dimensionxx/error.hpp | |
parent | b66a888acd9eb0b28c0e748c4506e267fe47360b (diff) | |
download | dimension-6cfdbf44cce0b0881d1811e7ec06c4e79e637c96.tar.xz |
Write C++ error handling wrapper.
Diffstat (limited to 'libdimensionxx/dimensionxx/error.hpp')
-rw-r--r-- | libdimensionxx/dimensionxx/error.hpp | 8 |
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 */ |