xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
xtd::tunit::abort_error Class Reference

#include <abort_error.h>

Definition

Exception thow when abort.

Namespace
xtd::tunit
Library
xtd.tunit

Inherits std::exception.

Public Member Functions

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

Constructor & Destructor Documentation

◆ abort_error() [1/2]

xtd::tunit::abort_error::abort_error ( const xtd::ustring 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: