Class Error
Defined in File errors.hpp
Class Documentation
-
class Error
Extends the generic ecl error handler with some time specific error strings.
This error handler is used both by ecl_sigslots_lite
Public Functions
-
inline Error(const sigslots::ErrorFlag &flag = UnknownError)
Configures the error class with the specified error flag.
- Parameters:
flag – : the error type.
-
inline virtual sigslots::ErrorFlag flag() const
The flag identifying the error identified with this error handler.
- Returns:
ErrorFlag : the error flag.
-
inline virtual const char *what() const
A simple string verbosely representing the error that is handled.
- Returns:
const char* : verbose representation of the error.
-
inline Error(const sigslots::ErrorFlag &flag = UnknownError)