tartan 1.2.2.1
Chess API
|
Base class for exceptions about pieces. More...
#include <exceptions.hpp>
Public Member Functions | |
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) |
Base class for exceptions about pieces.
|
inline |
p | Piece object report is based on |
what_arg | message string |
|
inline |