PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
profinet::RPCFaultError Class Reference

RPC returned a fault response. More...

#include <exceptions.h>

+ Inheritance diagram for profinet::RPCFaultError:
+ Collaboration diagram for profinet::RPCFaultError:

Public Member Functions

 RPCFaultError (const std::string &message, std::uint32_t faultCode=0)
 Construct with a message and the fault code reported by the peer.
 
- Public Member Functions inherited from profinet::RPCError
 RPCError (const std::string &message)
 Construct with a human-readable message.
 
- Public Member Functions inherited from profinet::ProfinetError
 ProfinetError (const std::string &message)
 Construct with a human-readable message.
 

Public Attributes

std::uint32_t faultCode
 DCE/RPC fault code reported by the peer.
 

Detailed Description

RPC returned a fault response.

Definition at line 598 of file exceptions.h.

Constructor & Destructor Documentation

◆ RPCFaultError()

profinet::RPCFaultError::RPCFaultError ( const std::string &  message,
std::uint32_t  faultCode = 0 
)
inlineexplicit

Construct with a message and the fault code reported by the peer.

Parameters
messageDescription of the error.
faultCodeDCE/RPC fault code reported by the peer (0 if unknown).

Definition at line 604 of file exceptions.h.

Member Data Documentation

◆ faultCode

std::uint32_t profinet::RPCFaultError::faultCode

DCE/RPC fault code reported by the peer.

Definition at line 610 of file exceptions.h.


The documentation for this class was generated from the following file: