A playd exception. More...
#include <errors.hpp>
Public Member Functions | |
Error (const std::string &msg) | |
Constructs an Error. More... | |
const std::string & | Message () const |
The human-readable message for this error. More... | |
Private Attributes | |
std::string | message |
The human-readable message for this Error. | |
A playd exception.
Definition at line 19 of file errors.hpp.
Error::Error | ( | const std::string & | msg | ) |
Constructs an Error.
msg | The human-readable message of the error. |
Definition at line 12 of file errors.cpp.
const std::string & Error::Message | ( | ) | const |
The human-readable message for this error.
Definition at line 16 of file errors.cpp.
References message.
Referenced by Player::Load(), main(), Player::Pos(), and Player::SetPlaying().