summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-07-23 16:33:58 -0700
committerWilliam A. Kennington III <wak@google.com>2018-07-23 16:33:58 -0700
commiteeef46978a092ed688d4930911ae9bebb95e5980 (patch)
tree88793ea61e73eeb2c7b8d6bcc3d43da221b65fd5
parentf16d9038f049a732aaa24001227762eabc95bae3 (diff)
downloadsdeventplus-eeef46978a092ed688d4930911ae9bebb95e5980.tar.gz
sdeventplus-eeef46978a092ed688d4930911ae9bebb95e5980.zip
exception: Document header
-rw-r--r--src/sdeventplus/exception.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sdeventplus/exception.hpp b/src/sdeventplus/exception.hpp
index 5412d70..697ccb1 100644
--- a/src/sdeventplus/exception.hpp
+++ b/src/sdeventplus/exception.hpp
@@ -5,9 +5,18 @@
namespace sdeventplus
{
+/** @class SdEventError
+ * @brief Holds information about underlying sd_event
+ * issued errors
+ */
class SdEventError final : public std::system_error
{
public:
+ /** @brief Creates a new SdEventError from error data
+ *
+ * @param[in] r - The postive errno code
+ * @param[in] prefix - The prefix string to display in the what()
+ */
SdEventError(int r, const char* prefix);
};
OpenPOWER on IntegriCloud