#include <assert_error.h>
Exception thow when an assertion failed.
- Namespace
- xtd::tunit
- Library
- xtd.tunit
Inherits std::exception.
◆ assert_error() [1/2]
xtd::tunit::assert_error::assert_error |
( |
const xtd::ustring & |
message | ) |
|
|
inlineexplicit |
Create a new instance of assert_error class.
- Parameters
-
message | Message string associate to the error. |
◆ assert_error() [2/2]
xtd::tunit::assert_error::assert_error |
( |
const char * |
message | ) |
|
|
inlineexplicit |
Create a new instance of assert_error class.
- Parameters
-
message | Message string associate to the error. |
◆ what()
const char* xtd::tunit::assert_error::what |
( |
| ) |
const |
|
inlinenoexcept |
Returns a string that represents the current assert_error.
- Returns
- string A string that represents the current assert_error.
The documentation for this class was generated from the following file: