ge211
Client_logic_error Class Reference

Detailed Description

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.

+ Inheritance 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 noexcept override
 The error message associated with the exception. More...
 

The documentation for this class was generated from the following files: