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

#include <ignore_error.h>

Definition

Exception to be thrown when something is ignored.

Namespace
xtd::tunit
Library
xtd.tunit

Inherits std::exception.

Public Member Functions

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

Constructor & Destructor Documentation

◆ ignore_error() [1/2]

xtd::tunit::ignore_error::ignore_error ( const xtd::ustring message)
inlineexplicit

Create a new instance of ignore_error class.

Parameters
messageMessage string associate to the error.

◆ ignore_error() [2/2]

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

Create a new instance of ignore_error class.

Parameters
messageMessage string associate to the error.

Member Function Documentation

◆ what()

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

Returns a string that represents the current ignore_error.

Returns
string A string that represents the current ignore_error.

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