Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
QuietHandler Class Reference
+ Inheritance diagram for QuietHandler:

Public Member Functions

void onError (error_level_t level, const string &message) override
 
- Public Member Functions inherited from ErrorHandler
virtual ~ErrorHandler ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ErrorHandler
static cstring getLevelString (error_level_t level)
 
- Static Public Attributes inherited from ErrorHandler
static ErrorHandler DEFAULT
 
static ErrorHandlerNO_INFO = NO_INFO_HANDLER
 
static ErrorHandlerQUIET = QUIET_HANDLER
 

Member Function Documentation

◆ onError()

void onError ( error_level_t  level,
const string message 
)
inlineoverridevirtual

This method is called each time an error message is generated. As a default, it display the error on standard error output.

Parameters
levelLevel of the error.
messageMessage to display.

This method may be called by the class inheriting from ErrorHandler . This event will be transmitted to the error handler. to generate an error event.

Parameters
levelLevel of the error event.
messageMessage of the error event.

Reimplemented from ErrorHandler.


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