Extends the generic ecl error handler with some time specific error strings. More...
#include <errors.hpp>
Public Member Functions | |
Error (const sigslots::ErrorFlag &flag=UnknownError) | |
Configures the error class with the specified error flag. | |
virtual sigslots::ErrorFlag | flag () const |
The flag identifying the error identified with this error handler. | |
virtual const char * | what () const |
A simple string verbosely representing the error that is handled. | |
Private Member Functions | |
const char * | noErrorString () const |
const char * | outOfResourcesErrorString () const |
const char * | unknownErrorString () const |
Private Attributes | |
ErrorFlag | error_flag |
Extends the generic ecl error handler with some time specific error strings.
This error handler is used both by ecl_sigslots_lite
Definition at line 41 of file errors.hpp.
ecl::lite::sigslots::Error::Error | ( | const sigslots::ErrorFlag & | flag = UnknownError | ) | [inline] |
Configures the error class with the specified error flag.
flag | : the error type. |
Definition at line 48 of file errors.hpp.
virtual sigslots::ErrorFlag ecl::lite::sigslots::Error::flag | ( | ) | const [inline, virtual] |
The flag identifying the error identified with this error handler.
Definition at line 53 of file errors.hpp.
const char* ecl::lite::sigslots::Error::noErrorString | ( | ) | const [inline, private] |
Definition at line 67 of file errors.hpp.
const char* ecl::lite::sigslots::Error::outOfResourcesErrorString | ( | ) | const [inline, private] |
Definition at line 69 of file errors.hpp.
const char* ecl::lite::sigslots::Error::unknownErrorString | ( | ) | const [inline, private] |
Definition at line 68 of file errors.hpp.
virtual const char* ecl::lite::sigslots::Error::what | ( | ) | const [inline, virtual] |
A simple string verbosely representing the error that is handled.
Definition at line 59 of file errors.hpp.
Definition at line 70 of file errors.hpp.