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::Exception Class Reference

Base exception for the Network module. More...

#include <StormByte/network/exception.hxx>

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

Public Member Functions

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

Base exception for the Network module.

Constructor & Destructor 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: