ge211  2021.5.1
A student game engine
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 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
what (T... args)
 
~exception (T... args)
 
operator= (T... args)
 
exception (T... args)
 

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