tartan 1.2.2.1
Chess API
|
Thrown when Piece pointer is nullptr
when it should not be.
More...
#include <exceptions.hpp>
Public Member Functions | |
null_piece (const std::string what_arg="Piece does not exists") | |
const Piece * | piece () const =delete |
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 Piece pointer is nullptr
when it should not be.
|
inline |
what_arg | message string |