xtd.tunit - Reference Guide  1.0.0
Modern c++17 unit testing framework on Windows, macOS, Linux, iOS and android.
xtd::tunit::abort_error Class Reference

Exception thow when abort. More...

#include <abort_error.h>

Inheritance diagram for xtd::tunit::abort_error:

Public Member Functions

 abort_error (const std::string &message)
 Create a new instance of abort_error class. More...
 
 abort_error (const char *message)
 Create a new instance of abort_error class. More...
 
const char * what () const noexcept
 Returns a string that represents the current abort_error. More...
 

Detailed Description

Exception thow when abort.

Constructor & Destructor Documentation

§ abort_error() [1/2]

xtd::tunit::abort_error::abort_error ( const std::string &  message)
inlineexplicit

Create a new instance of abort_error class.

Parameters
messageMessage string associate to the error.

§ abort_error() [2/2]

xtd::tunit::abort_error::abort_error ( const char *  message)
inlineexplicit

Create a new instance of abort_error class.

Parameters
messageMessage string associate to the error.

Member Function Documentation

§ what()

const char* xtd::tunit::abort_error::what ( ) const
inlinenoexcept

Returns a string that represents the current abort_error.

Returns
string A string that represents the current abort_error.

The documentation for this class was generated from the following file: