Public Member Functions | Private Member Functions | Private Attributes | List of all members
ecl::lite::sigslots::Error Class Reference

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. More...
 
virtual sigslots::ErrorFlag flag () const
 The flag identifying the error identified with this error handler. More...
 
virtual const char * what () const
 A simple string verbosely representing the error that is handled. More...
 

Private Member Functions

const char * noErrorString () const
 
const char * outOfResourcesErrorString () const
 
const char * unknownErrorString () const
 

Private Attributes

ErrorFlag error_flag
 

Detailed Description

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.

Constructor & Destructor Documentation

ecl::lite::sigslots::Error::Error ( const sigslots::ErrorFlag flag = UnknownError)
inline

Configures the error class with the specified error flag.

Parameters
flag: the error type.

Definition at line 48 of file errors.hpp.

Member Function Documentation

virtual sigslots::ErrorFlag ecl::lite::sigslots::Error::flag ( ) const
inlinevirtual

The flag identifying the error identified with this error handler.

Returns
ErrorFlag : the error flag.

Definition at line 53 of file errors.hpp.

const char* ecl::lite::sigslots::Error::noErrorString ( ) const
inlineprivate

Definition at line 67 of file errors.hpp.

const char* ecl::lite::sigslots::Error::outOfResourcesErrorString ( ) const
inlineprivate

Definition at line 69 of file errors.hpp.

const char* ecl::lite::sigslots::Error::unknownErrorString ( ) const
inlineprivate

Definition at line 68 of file errors.hpp.

virtual const char* ecl::lite::sigslots::Error::what ( ) const
inlinevirtual

A simple string verbosely representing the error that is handled.

Returns
const char* : verbose representation of the error.

Definition at line 59 of file errors.hpp.

Member Data Documentation

ErrorFlag ecl::lite::sigslots::Error::error_flag
private

Definition at line 70 of file errors.hpp.


The documentation for this class was generated from the following file:


ecl_sigslots_lite
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:09:06