LibQuicR
quicr::messages::ProtocolViolationException Struct Reference

Exception indicating that received or constructed data violates the MoQ protocol. More...

#include <ctrl_message_types.h>

Inheritance diagram for quicr::messages::ProtocolViolationException:

Public Member Functions

 ProtocolViolationException (const std::string &reason, const std::source_location location=std::source_location::current())
 

Public Attributes

const std::string reason
 Unformatted protocol-violation reason. More...
 

Detailed Description

Exception indicating that received or constructed data violates the MoQ protocol.

Constructor & Destructor Documentation

◆ ProtocolViolationException()

quicr::messages::ProtocolViolationException::ProtocolViolationException ( const std::string &  reason,
const std::source_location  location = std::source_location::current() 
)
inline
Parameters
reasonViolation explanation.
locationSource location attributed to the check.

Member Data Documentation

◆ reason

const std::string quicr::messages::ProtocolViolationException::reason

Unformatted protocol-violation reason.


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