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
logic_error (T... args)
 
what (T... args)
 
- Public Member Functions inherited from std::exception
what (T... args)
 
~exception (T... args)
 
operator= (T... args)
 
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: