Peer closed while waiting or transferring. More...
#include <StormByte/network/exception.hxx>


Public Member Functions | |
| template<typename... Args> requires (sizeof...(Args) >= 1) | |
| ConnectionClosed (std::string_view pattern, Args &&... args) | |
| Replace literal {}, then prefix Connection closed: . | |
| ConnectionClosed (std::string_view message) | |
| Prefix a borrowed message with Connection closed: . | |
| template<typename... Args> requires (sizeof...(Args) >= 1) | |
| ConnectionClosed (Path path, std::string_view pattern, Args &&... args) | |
| Replace literal {} under an additional Network path. | |
| ConnectionClosed (Path path, std::string_view message) | |
| Copy a borrowed plain message under an additional Network path. | |
| ConnectionClosed (const ConnectionClosed &other) | |
| Copy the closed-connection error inside Network. | |
| ConnectionClosed (ConnectionClosed &&other) noexcept | |
| Move the closed-connection error inside Network. | |
| ~ConnectionClosed () noexcept override | |
| Destructor. | |
| ConnectionClosed & | operator= (const ConnectionClosed &other) |
| Copy-assign the closed-connection error. | |
| ConnectionClosed & | operator= (ConnectionClosed &&other) noexcept |
| Move-assign the closed-connection error. | |
| Public Member Functions inherited from StormByte::Network::Exception | |
| template<typename... Args> requires (sizeof...(Args) >= 1) | |
| Exception (std::string_view pattern, Args &&... args) | |
| Replace literal {} under StormByte.Network. | |
| Exception (std::string_view message) | |
| Copy a borrowed plain message under StormByte.Network in the provider. | |
| template<typename... Args> requires (sizeof...(Args) >= 1) | |
| Exception (Path path, std::string_view pattern, Args &&... args) | |
| Replace literal {} under an additional Network path. | |
| Exception (Path path, std::string_view message) | |
| Copy a borrowed plain message under an additional Network path. | |
| Exception (const Exception &other) | |
| Copy Base-owned message storage through its provider. | |
| Exception (Exception &&other) noexcept | |
| Transfer Base-owned message storage without allocating. | |
| Exception & | operator= (const Exception &other) |
| Copy Base-owned message storage through its provider. | |
| Exception & | operator= (Exception &&other) noexcept |
| Transfer Base-owned message storage without allocating. | |
| ~Exception () noexcept override | |
| Destroy the exception. | |
| Public Member Functions inherited from StormByte::Exception | |
| Exception (std::string_view message) | |
| Exception (const Exception &other) | |
| Exception (Exception &&other) noexcept | |
| Exception & | operator= (const Exception &other) |
| Exception & | operator= (Exception &&other) noexcept |
| virtual const char * | what () const noexcept |
Additional Inherited Members | |
| Protected Member Functions inherited from StormByte::Exception | |
| Exception () noexcept | |
| Exception (Path path, std::string_view message) | |
| Exception (Path path, Safe::String &&message) | |
| Exception (Path path, std::string_view pattern, Args &&... args) | |
Peer closed while waiting or transferring.
The message constructors prefix Connection closed: under StormByte.Network.Connection. A Path constructor does not add that prefix.
|
inlineexplicit |
Replace literal {}, then prefix Connection closed: .
| Args | Views, numbers, or types that convert to std::string. A number uses std::to_string. |
| pattern | Body with literal {} tokens. Not a std::format string. |
| args | Replacements. One per token, in order. |
|
inlineexplicit |
Prefix a borrowed message with Connection closed: .
| message | Exception text. Not a format string. |
|
inlineexplicit |
Replace literal {} under an additional Network path.
No closed prefix.
| Args | Views, numbers, or types that convert to std::string. A number uses std::to_string. |
| path | Additional segments nested below StormByte.Network. |
| pattern | Body with literal {} tokens. Not a std::format string. |
| args | Replacements. One per token, in order. |
|
inlineexplicit |
Copy a borrowed plain message under an additional Network path.
No closed prefix.
| path | Additional segments nested below StormByte.Network. |
| message | Exception text. Not a format string. |
| StormByte::Network::ConnectionClosed::ConnectionClosed | ( | const ConnectionClosed & | other | ) |
Copy the closed-connection error inside Network.
| other | Source error. |
|
noexcept |
Move the closed-connection error inside Network.
| other | Source error. |
|
overridenoexcept |
Destructor.
Defined in the Network library to anchor RTTI.
|
noexcept |
Move-assign the closed-connection error.
| other | Source error. |
| ConnectionClosed & StormByte::Network::ConnectionClosed::operator= | ( | const ConnectionClosed & | other | ) |
Copy-assign the closed-connection error.
| other | Source error. |