14 explicit assert_error(
const std::string& message) : message_(message) {}
27 const char*
what() const noexcept {
return this->message_.c_str();}
assert_error(const char *message)
Create a new instance of assert_error class.
Definition: assert_error.h:18
Exception thow when an assertion failed.
Definition: assert_error.h:10
const char * what() const noexcept
Returns a string that represents the current assert_error.
Definition: assert_error.h:27
The tunit namespace contains a unit test library.
Definition: abort_error.h:8
assert_error(const std::string &message)
Create a new instance of assert_error class.
Definition: assert_error.h:14