open62541pp 0.15.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
opcua::BadResult Class Reference

#include <result.hpp>

Detailed Description

Represents a bad result stored in Result.

Definition at line 17 of file result.hpp.

Public Member Functions

constexpr BadResult (StatusCode code) noexcept
 
constexpr StatusCode code () const noexcept
 

Constructor & Destructor Documentation

◆ BadResult()

opcua::BadResult::BadResult ( StatusCode code)
inlineexplicitconstexprnoexcept

Construct a BadResult from a bad StatusCode.

Definition at line 22 of file result.hpp.

Member Function Documentation

◆ code()

StatusCode opcua::BadResult::code ( ) const
inlineconstexprnoexcept

Get the StatusCode.

Definition at line 30 of file result.hpp.