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

Thrown when Piece Position on Board is occupied when it should not to. More...

#include <exceptions.hpp>

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

Public Member Functions

 position_is_taken (const Piece *p, const std::string &what_arg="Piece position is taken")
 
- Public Member Functions inherited from tt::ex::bad_piece
 bad_piece (const Piece *p, const std::string &what_arg="Invalid piece")
 
const Piecepiece () const
 Get the reported tt::Piece object.
 
- 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 Piece Position on Board is occupied when it should not to.


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