IC4Exception Class Reference

Exception thrown if an error occurs and exceptions are enabled for the failing function call. More...

Inheritance diagram for IC4Exception:

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

See Error Handling for a general overview of how error handling works in this library.

Member Function Documentation

◆ code()

ErrorCode code ( ) const
inlinenoexcept

Returns the error code of the error that caused this exception.

Returns
The error code

◆ what()

const char * what ( ) const
inlinefinalnoexcept

Returns the error message of the error that caused this exception.

Returns
The error message