XPMP2
X-Plane multiplayer library 2 - using instancing
Public Member Functions | Public Attributes | List of all members
XPMP2::NetRuntimeError Class Reference

Exception raised by XPMP2::SocketNetworking objects. More...

#include <Network.h>

+ Inheritance diagram for XPMP2::NetRuntimeError:

Public Member Functions

 NetRuntimeError (const std::string &w)
 
const char * what () const noexcept override
 Return the full message, ie. fullWhat More...
 

Public Attributes

std::string errTxt
 OS text for what errno says, output of strerror_s() More...
 
std::string fullWhat
 combines w and errTxt More...
 

Detailed Description

Exception raised by XPMP2::SocketNetworking objects.

This exception is raised when the address and port combinaison cannot be resolved or if the socket cannot be opened.

Constructor & Destructor Documentation

◆ NetRuntimeError()

XPMP2::NetRuntimeError::NetRuntimeError ( const std::string &  w)

Constructor sets the above texts

Member Function Documentation

◆ what()

const char* XPMP2::NetRuntimeError::what ( ) const
inlineoverridenoexcept

Return the full message, ie. fullWhat

Member Data Documentation

◆ errTxt

std::string XPMP2::NetRuntimeError::errTxt

OS text for what errno says, output of strerror_s()

◆ fullWhat

std::string XPMP2::NetRuntimeError::fullWhat

combines w and errTxt


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