An exception that indicates that a logic error was performed by the client.
For example, a Client_logic_error is thrown by Abstract_game::get_window() const if that function is called before the Window has been created. Client code may throw or derive from Client_logic_error as well.
Definition at line 46 of file ge211_error.h.
Public Member Functions | |
Client_logic_error (const std::string &message) | |
Constructs the error, given the provided error message. | |
![]() | |
const char * | what () const noexcept override |
The error message associated with the exception. More... | |