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

Thrown when inserted King is already provided. More...

#include <exceptions.hpp>

Inheritance diagram for tt::chess::ex::duplicate_king:
[legend]
Collaboration diagram for tt::chess::ex::duplicate_king:
[legend]

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 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 inserted King is already provided.


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