StormByte C++ Library: Network module 1.1.0
StormByte-Network is the C++26 networking module of the StormByte suite.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
StormByte::Network::ConnectionError Class Reference

Connection or socket operation failed. More...

#include <StormByte/network/exception.hxx>

Inheritance diagram for StormByte::Network::ConnectionError:
Inheritance graph
[legend]
Collaboration diagram for StormByte::Network::ConnectionError:
Collaboration graph
[legend]

Public Member Functions

template<typename... Args>
 ConnectionError (std::format_string< Args... > fmt, Args &&... args)
 Construct from a format string.
 
template<typename... Args>
 Exception (const std::string &component, std::format_string< Args... > fmt, Args &&... args)
 Construct with a component prefix and a format string.
 
- Public Member Functions inherited from StormByte::Network::Exception
template<typename... Args>
 Exception (const std::string &component, std::format_string< Args... > fmt, Args &&... args)
 Construct with a component prefix and a format string.
 

Detailed Description

Connection or socket operation failed.

Constructor & Destructor Documentation

◆ ConnectionError()

template<typename... Args>
StormByte::Network::ConnectionError::ConnectionError ( std::format_string< Args... >  fmt,
Args &&...  args 
)
inline

Construct from a format string.

Template Parameters
ArgsFormat argument types.
Parameters
fmtFormat string.
argsFormat arguments.

Member Function Documentation

◆ Exception()

template<typename... Args>
StormByte::Network::Exception::Exception ( const std::string &  component,
std::format_string< Args... >  fmt,
Args &&...  args 
)
inline

Construct with a component prefix and a format string.

Template Parameters
ArgsFormat argument types.
Parameters
componentSubsystem name.
fmtFormat string.
argsFormat arguments.

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