A helper class for basic error reporting.
More...
#include <error_base.h>
A helper class for basic error reporting.
Definition at line 18 of file error_base.h.
tasks::error_base::error_base |
( |
| ) |
|
|
inline |
virtual tasks::error_base::~error_base |
( |
| ) |
|
|
inlinevirtual |
bool tasks::error_base::error |
( |
| ) |
const |
|
inline |
Return true if an error occured.
Definition at line 24 of file error_base.h.
const std::string& tasks::error_base::error_message |
( |
| ) |
const |
|
inline |
Return the underlying exception object.
Definition at line 49 of file error_base.h.
void tasks::error_base::reset_error |
( |
| ) |
|
|
inline |
Set an exception to report an error.
Definition at line 54 of file error_base.h.
int tasks::error_base::sys_errno |
( |
| ) |
const |
|
inline |
Return the errno if available.
Definition at line 39 of file error_base.h.
std::string tasks::error_base::sys_errno_str |
( |
| ) |
const |
|
inline |
Return the errno description if available.
Definition at line 44 of file error_base.h.
The documentation for this class was generated from the following file: