Biorbd Release_1.13.0
Loading...
Searching...
No Matches
BIORBD_NAMESPACE::utils::Error Class Reference

Raise error or warning while biorbding. More...

#include <Error.h>

Static Public Member Functions

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.

Detailed Description

Raise error or warning while biorbding.

Definition at line 15 of file Error.h.

Member Function Documentation

◆ check()

void utils::Error::check ( bool cond,
const String & message )
static

Assert that raises the error message if false.

Parameters
condThe condition to assert
messageThe 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
messageThe 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
condThe condition to assert
messageThe 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: