#include <MyError.hh>
Inheritance diagram for MyError:
Public Member Functions | |
MyError (std::string s) | |
const std::string & | msg () const |
The inherited classes are used for throwing, so that the library user can do a simple catch( MyError err) to catch all errors.
|
Constructor taking a plain text error message
|
|
return the plain text error message, that was passed to the constructor
|