IC4Exception Class Reference
Exception thrown if an error occurs and exceptions are enabled for the failing function call. More...
Inheritance diagram for IC4Exception:
![](common/img/classic4_ic4_exception.png)
Public Member Functions
ErrorCode | code () const noexcept Returns the error code of the error that caused this exception. |
const char * | what () const noexcept final Returns the error message of the error that caused this exception. |
Detailed Description
Exception thrown if an error occurs and exceptions are enabled for the failing function call.
This exception is thrown, if a function call fails, and
- Error::Throw() is passed to the function's
err
parameter. - initLibrary was called with
defaultErrorHandlerBehavior
set to ErrorHandlerBehavior::Throw.
See Error Handling for a general overview of how error handling works in this library.
Member Function Documentation
◆ code()
|
inlinenoexcept |
Returns the error code of the error that caused this exception.
- Returns
- The error code
◆ what()
|
inlinefinalnoexcept |
Returns the error message of the error that caused this exception.
- Returns
- The error message