diff options
| author | William A. Kennington III <wak@google.com> | 2018-07-23 16:33:58 -0700 |
|---|---|---|
| committer | William A. Kennington III <wak@google.com> | 2018-07-23 16:33:58 -0700 |
| commit | eeef46978a092ed688d4930911ae9bebb95e5980 (patch) | |
| tree | 88793ea61e73eeb2c7b8d6bcc3d43da221b65fd5 | |
| parent | f16d9038f049a732aaa24001227762eabc95bae3 (diff) | |
| download | sdeventplus-eeef46978a092ed688d4930911ae9bebb95e5980.tar.gz sdeventplus-eeef46978a092ed688d4930911ae9bebb95e5980.zip | |
exception: Document header
| -rw-r--r-- | src/sdeventplus/exception.hpp | 9 |
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); }; |

