Special runtime exception to carry a native error code.
More...
#include <cvb/opcua/exception.hpp>
Inherits runtime_error.
Special runtime exception to carry a native error code.
- Examples
- OpcUa/BareboneClient, OpcUa/BareboneServer, and OpcUa/ServerClientInteraction.
◆ OpcUaException() [1/2]
Creates a runtime exception to carry a native error code.
- Parameters
-
[in] | errorCode | The errorCode returned by the C-API. |
◆ OpcUaException() [2/2]
Creates a runtime exception to carry a user choosen error code and message.
- Parameters
-
[in] | errorCode | The errorCode returned by the C-API. |
[in] | msg | The errorCode returned by the C-API. |
◆ ErrorCode()