Allows to categorize the errors.

#include <dpyError.h>

Inheritance diagram for dpyError:

Public Member Functions

virtual const char * name () const noexcept
 Returns the name of the category. More...
 
virtual std::string message (int e) const
 Return the error message according to the error value. More...
 

Member Function Documentation

virtual std::string message ( int  e) const
virtual
Parameters
ethe error value
Returns
string with the error message
virtual const char* name ( ) const
virtualnoexcept
Returns
name of the category