LibQuicR
quicr::UintVarInvalidArgException Struct Reference

#include <uintvar.h>

Inheritance diagram for quicr::UintVarInvalidArgException:

Public Member Functions

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

Public Attributes

const std::string reason
 Caller-oriented explanation without the formatted source location. More...
 

Detailed Description

Reports an invalid or incomplete variable-length unsigned integer encoding.

Constructor & Destructor Documentation

◆ UintVarInvalidArgException()

quicr::UintVarInvalidArgException::UintVarInvalidArgException ( const std::string &  reason,
const std::source_location  location = std::source_location::current() 
)
inline

Constructs an invalid-argument error.

Parameters
reasonExplanation of the invalid value or byte sequence.
locationSource location attributed to the caller.

Member Data Documentation

◆ reason

const std::string quicr::UintVarInvalidArgException::reason

Caller-oriented explanation without the formatted source location.


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