tartan 1.2.2.1
Chess API
|
Thrown when Board::piece() can not recognize Piece specification. More...
#include <exceptions.hpp>
Public Member Functions | |
bad_piece_spec (const std::string &spec, const std::string what_arg="Invalid piece specification") | |
const std::string & | spec () const |
Get the malformed spec string. | |
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 Board::piece() can not recognize Piece specification.
|
inline |
spec | the spec that is malformed |
what_arg | message string |
|
inline |
Get the malformed spec string.