80 template <
typename... Args>
81 explicit Exception(std::format_string<Args...> fmt, Args&&... args):
83 std::forward<Args>(args)...) {}
92 template <
typename... Args>
97 fmt,
std::forward<Args>(args)...) {}
132 template <
typename... Args>
163 template <
typename... Args>
166 std::format(fmt,
std::forward<Args>(args)...)) {}
195 template <
typename... Args>
226 template <
typename... Args>
Peer closed while waiting or transferring.
Definition exception.hxx:148
~ConnectionClosed() noexcept override
Destructor.
ConnectionClosed(std::format_string< Args... > fmt, Args &&... args)
Construct from a format string.
Definition exception.hxx:164
ConnectionClosed(std::string_view message)
Copy plain connection-closed text.
Definition exception.hxx:154
Connection or socket operation failed.
Definition exception.hxx:118
~ConnectionError() noexcept override
Destructor.
ConnectionError(std::format_string< Args... > fmt, Args &&... args)
Construct from a format string.
Definition exception.hxx:133
ConnectionError(std::string_view message)
Copy plain connection-error text.
Definition exception.hxx:124
Base exception for the Network module.
Definition exception.hxx:58
Exception(StormByte::Exception::Path child, std::format_string< Args... > fmt, Args &&... args)
Definition exception.hxx:93
~Exception() noexcept override
Destructor.
Exception(StormByte::Exception::Path child, std::string_view message)
Copy plain text under a Network child component.
Definition exception.hxx:104
Exception(const StormByte::Safe::String &message)
Copy Base-owned text under StormByte.Network.
Definition exception.hxx:71
Exception(std::format_string< Args... > fmt, Args &&... args)
Format an exception under StormByte.Network.
Definition exception.hxx:81
Exception(std::string_view message)
Copy plain exception text under StormByte.Network.
Definition exception.hxx:64
Transport frame error.
Definition exception.hxx:211
FrameError(std::format_string< Args... > fmt, Args &&... args)
Construct from a format string.
Definition exception.hxx:227
FrameError(std::string_view message)
Copy plain frame-error text.
Definition exception.hxx:217
~FrameError() noexcept override
Destructor.
Transport packet error.
Definition exception.hxx:180
PacketError(std::string_view message)
Copy plain packet-error text.
Definition exception.hxx:186
~PacketError() noexcept override
Destructor.
PacketError(std::format_string< Args... > fmt, Args &&... args)
Construct from a format string.
Definition exception.hxx:196
Network module of the StormByte suite.
Definition client.hxx:54
Root namespace of the StormByte suite.
#define STORMBYTE_NETWORK_PUBLIC
Definition visibility.h:51