LibQuicR
quicr::TransportException Struct Reference

Exception carrying a failed transport operation's result code and call site. More...

#include <transport.h>

Inheritance diagram for quicr::TransportException:

Public Member Functions

 TransportException (TransportError error, std::source_location location=std::source_location::current())
 Construct an exception for a transport failure. More...
 

Public Attributes

TransportError Error
 Machine-readable transport failure. More...
 

Detailed Description

Exception carrying a failed transport operation's result code and call site.

Constructor & Destructor Documentation

◆ TransportException()

quicr::TransportException::TransportException ( TransportError  error,
std::source_location  location = std::source_location::current() 
)

Construct an exception for a transport failure.

Parameters
errorTransport error that caused the failure.
locationSource location at which the exception was created.

Member Data Documentation

◆ Error

TransportError quicr::TransportException::Error

Machine-readable transport failure.


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