|
tartan 1.2.2.1
Chess API
|
Thrown when inserted King is already provided. More...
#include <exceptions.hpp>
Public Member Functions | |
| duplicate_king (const Piece *p, const std::string &what_arg="Board already has a king") | |
Public Member Functions inherited from tt::ex::bad_piece | |
| bad_piece (const Piece *p, const std::string &what_arg="Invalid piece") | |
| const Piece * | piece () const |
| Get the reported tt::Piece object. | |
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) |
Thrown when inserted King is already provided.