tartan 1.2.2.1
Chess API
Loading...
Searching...
No Matches
tt::ex::illegal_turn Class Reference

Thrown when constructed Piece::Turn object is malformed. More...

#include <exceptions.hpp>

Inheritance diagram for tt::ex::illegal_turn:
[legend]
Collaboration diagram for tt::ex::illegal_turn:
[legend]

Public Member Functions

 illegal_turn (const std::string &what_arg)
 
 illegal_turn (const char *what_arg)
 
- Public Member Functions inherited from std::logic_error
T logic_error (T... args)
 
T what (T... args)
 
- Public Member Functions inherited from std::exception
T what (T... args)
 
T ~exception (T... args)
 
T operator= (T... args)
 
T exception (T... args)
 

Detailed Description

Thrown when constructed Piece::Turn object is malformed.

Constructor & Destructor Documentation

◆ illegal_turn()

tt::ex::illegal_turn::illegal_turn ( const std::string &  what_arg)
inline
Parameters
what_argmessage string

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