open62541pp 0.16.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
opcua::BadStatus Class Reference

#include <exception.hpp>

Inheritance diagram for opcua::BadStatus:
[legend]

Detailed Description

Exception for bad status codes from open62541 UA_STATUSCODE_*.

See also
statuscodes.h
Examples
client_subscription.cpp.

Definition at line 15 of file exception.hpp.

Public Member Functions

 BadStatus (UA_StatusCode code)
 
UA_StatusCode code () const noexcept
 
const char * what () const noexcept override
 

Constructor & Destructor Documentation

◆ BadStatus()

opcua::BadStatus::BadStatus ( UA_StatusCode code)
inlineexplicit

Definition at line 17 of file exception.hpp.

Member Function Documentation

◆ code()

UA_StatusCode opcua::BadStatus::code ( ) const
inlinenoexcept

Definition at line 20 of file exception.hpp.

Referenced by opcua::detail::getStatusCode().

◆ what()

const char * opcua::BadStatus::what ( ) const
inlineoverridenoexcept
Examples
client_subscription.cpp.

Definition at line 24 of file exception.hpp.