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 47 of file ge211_error.hxx.
Inheritance diagram for Client_logic_error:
Collaboration diagram for Client_logic_error:Public Member Functions | |
| Client_logic_error (const std::string &message) | |
| Constructs the error, given the provided error message. | |
Public Member Functions inherited from Exception_base | |
| const char * | what () const override |
| The error message associated with the exception. More... | |
Public Member Functions inherited from exception | |
| T | what (T... args) |
| T | ~exception (T... args) |
| T | operator= (T... args) |
| T | exception (T... args) |