Raise error or warning while biorbding.
More...
#include <Error.h>
|
| static void | raise (const String &message) |
| | Throw an error message.
|
| static void | check (bool cond, const String &message) |
| | Assert that raises the error message if false.
|
| static void | warning (bool cond, const String &message) |
| | Non-blocking assert that displays the error message if false.
|
Raise error or warning while biorbding.
Definition at line 15 of file Error.h.
◆ check()
| void utils::Error::check |
( |
bool | cond, |
|
|
const String & | message ) |
|
static |
Assert that raises the error message if false.
- Parameters
-
| cond | The condition to assert |
| message | The error message to display in case of failing |
Definition at line 10 of file Error.cpp.
◆ raise()
| void utils::Error::raise |
( |
const String & | message | ) |
|
|
static |
Throw an error message.
- Parameters
-
| message | The error message to display |
Definition at line 6 of file Error.cpp.
◆ warning()
| void utils::Error::warning |
( |
bool | cond, |
|
|
const String & | message ) |
|
static |
Non-blocking assert that displays the error message if false.
- Parameters
-
| cond | The condition to assert |
| message | The warning message to display in case of failing |
Definition at line 16 of file Error.cpp.
The documentation for this class was generated from the following files: