![]() |
helics
2.8.1
|
#include <helicsExceptions.hpp>
Public Member Functions | |
hThrowOnError () | |
~hThrowOnError () HELICS_THROWS_EXCEPTION | |
operator helics_error * () | |
helper class that will throw an error if the helics error object has a actual error in it
it will throw an in the destructor
|
inline |
constructor which creates and initializing an error object
|
inline |
throwing destructor
if the error code object contains a non-zero error code the destructor will emit an exception
References helics_error::error_code, and helics_error::message.
|
inline |
this is an implicit conversion operation for use with helics_error