summaryrefslogtreecommitdiffstats
path: root/user.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'user.hpp')
-rw-r--r--user.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/user.hpp b/user.hpp
index 4c18c7a..44dd3a3 100644
--- a/user.hpp
+++ b/user.hpp
@@ -120,6 +120,14 @@ class User : public Interface
const std::string& tempFile,
const std::string& password,
const std::string& salt);
+
+ /** @brief Wrapper for raising exception
+ *
+ * @param[in] errNo - errno
+ * @param[in] errMsg - Error message
+ */
+ void raiseException(int errNo,
+ const std::string& errMsg);
};
} // namespace user
OpenPOWER on IntegriCloud