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

Thrown when tt::Board::getPieceType() returns std::type_info that is not mentioned in its argument. More...

#include <exceptions.hpp>

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

Public Member Functions

 bad_piece_type (const std::string what_arg="Piece type is illegal")
 
- 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 tt::Board::getPieceType() returns std::type_info that is not mentioned in its argument.


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