|
libfswatch
1.9.3
|
Base exception of the libfswatch library.
More...
#include <libfswatch_exception.hpp>
Public Member Functions | |
| libfsw_exception (std::string cause, int code=FSW_ERR_UNKNOWN_ERROR) | |
Constructs an exception with the specified cause and error code. More... | |
| virtual const char * | what () const noexcept |
| Gets the error message. More... | |
| virtual int | error_code () const noexcept |
| Gets the error code. More... | |
| virtual | ~libfsw_exception () noexcept |
| Destructs an instance of this class. | |
| operator int () const noexcept | |
| Gets the error code. | |
Base exception of the libfswatch library.
An instance of this class stores an error message and an integer error code.
| fsw::libfsw_exception::libfsw_exception | ( | std::string | cause, |
| int | code = FSW_ERR_UNKNOWN_ERROR |
||
| ) |
Constructs an exception with the specified cause and error code.
| cause | The error message. |
| code | The error code. |
|
virtualnoexcept |
Gets the error code.
|
virtualnoexcept |
Gets the error message.
1.8.10