Transport packet error. More...
#include <StormByte/network/exception.hxx>


Public Member Functions | |
| template<typename... Args> requires (sizeof...(Args) >= 1) | |
| PacketError (std::string_view pattern, Args &&... args) | |
| Replace literal {} under StormByte.Network.Transport.Packet. | |
| PacketError (std::string_view message) | |
| Copy a borrowed plain message under StormByte.Network.Transport.Packet. | |
| template<typename... Args> requires (sizeof...(Args) >= 1) | |
| PacketError (Path path, std::string_view pattern, Args &&... args) | |
| Replace literal {} under an additional Network path. | |
| PacketError (Path path, std::string_view message) | |
| Copy a borrowed plain message under an additional Network path. | |
| PacketError (const PacketError &other) | |
| Copy the packet error inside Network. | |
| PacketError (PacketError &&other) noexcept | |
| Move the packet error inside Network. | |
| ~PacketError () noexcept override | |
| Destructor. | |
| PacketError & | operator= (const PacketError &other) |
| Copy-assign the packet error. | |
| PacketError & | operator= (PacketError &&other) noexcept |
| Move-assign the packet 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) | |
Transport packet error.
what() is StormByte.Network.Transport.Packet: message.
|
inlineexplicit |
Replace literal {} under StormByte.Network.Transport.Packet.
| 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.Transport.Packet.
| 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::PacketError::PacketError | ( | const PacketError & | other | ) |
Copy the packet error inside Network.
| other | Source error. |
|
noexcept |
Move the packet error inside Network.
| other | Source error. |
|
overridenoexcept |
Destructor.
Defined in the Network library to anchor RTTI.
| PacketError & StormByte::Network::PacketError::operator= | ( | const PacketError & | other | ) |
Copy-assign the packet error.
| other | Source error. |
|
noexcept |
Move-assign the packet error.
| other | Source error. |