Connection or socket operation failed. More...
#include <StormByte/network/exception.hxx>


Public Member Functions | |
| template<typename... Args> requires (sizeof...(Args) >= 1) | |
| ConnectionError (std::string_view pattern, Args &&... args) | |
| Replace literal {} under StormByte.Network.Connection. | |
| ConnectionError (std::string_view message) | |
| Copy a borrowed plain message under StormByte.Network.Connection. | |
| template<typename... Args> requires (sizeof...(Args) >= 1) | |
| ConnectionError (Path path, std::string_view pattern, Args &&... args) | |
| Replace literal {} under an additional Network path. | |
| ConnectionError (Path path, std::string_view message) | |
| Copy a borrowed plain message under an additional Network path. | |
| ConnectionError (const ConnectionError &other) | |
| Copy the connection error inside Network. | |
| ConnectionError (ConnectionError &&other) noexcept | |
| Move the connection error inside Network. | |
| ~ConnectionError () noexcept override | |
| Destructor. | |
| ConnectionError & | operator= (const ConnectionError &other) |
| Copy-assign the connection error. | |
| ConnectionError & | operator= (ConnectionError &&other) noexcept |
| Move-assign the 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) | |
Connection or socket operation failed.
what() is StormByte.Network.Connection: message.
|
inlineexplicit |
Replace literal {} under StormByte.Network.Connection.
| 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 |
Copy a borrowed plain message under StormByte.Network.Connection.
| message | Exception text. Copied during the call and never retained. |
|
inlineexplicit |
Replace literal {} under an additional Network path.
| 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.
| path | Additional segments nested below StormByte.Network. |
| message | Exception text. Not a format string. |
| StormByte::Network::ConnectionError::ConnectionError | ( | const ConnectionError & | other | ) |
Copy the connection error inside Network.
| other | Source error. |
|
noexcept |
Move the connection error inside Network.
| other | Source error. |
|
overridenoexcept |
Destructor.
Defined in the Network library to anchor RTTI.
|
noexcept |
Move-assign the connection error.
| other | Source error. |
| ConnectionError & StormByte::Network::ConnectionError::operator= | ( | const ConnectionError & | other | ) |
Copy-assign the connection error.
| other | Source error. |