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