Exception thrown when a buffer write operation fails.
More...
#include <StormByte/buffer/exception.hxx>
|
| | WriteError (const std::string &message) |
| | Construct a write error from an unformatted message.
|
| |
| | WriteError (std::string &&message) |
| | Construct a write error from a moved unformatted message.
|
| |
| template<typename... Args> |
| | WriteError (std::format_string< Args... > fmt, Args &&... args) |
| | Construct a write error with a format message.
|
| |
| | Exception (const std::string &message) |
| | Construct a Buffer exception from an unformatted message.
|
| |
| | Exception (std::string &&message) |
| | Construct a Buffer exception from a moved unformatted message.
|
| |
| template<typename... Args> |
| | Exception (StormByte::Component component, std::format_string< Args... > fmt, Args &&... args) |
| | Construct a Buffer exception with an explicit component.
|
| |
| template<typename... Args> |
| | Exception (std::format_string< Args... > fmt, Args &&... args) |
| | Construct a Buffer exception with a formatted message.
|
| |
| | Exception (const std::string &message) |
| | Construct a Buffer exception from an unformatted message.
|
| |
| | Exception (std::string &&message) |
| | Construct a Buffer exception from a moved unformatted message.
|
| |
| template<typename... Args> |
| | Exception (StormByte::Component component, std::format_string< Args... > fmt, Args &&... args) |
| | Construct a Buffer exception with an explicit component.
|
| |
| template<typename... Args> |
| | Exception (std::format_string< Args... > fmt, Args &&... args) |
| | Construct a Buffer exception with a formatted message.
|
| |
Exception thrown when a buffer write operation fails.
The component name is fixed to "Buffer::WriteError".
◆ WriteError() [1/3]
| StormByte::Buffer::WriteError::WriteError |
( |
const std::string & |
message | ) |
|
|
inlineexplicit |
Construct a write error from an unformatted message.
- Parameters
-
◆ WriteError() [2/3]
| StormByte::Buffer::WriteError::WriteError |
( |
std::string && |
message | ) |
|
|
inlineexplicit |
Construct a write error from a moved unformatted message.
- Parameters
-
◆ WriteError() [3/3]
template<typename... Args>
| StormByte::Buffer::WriteError::WriteError |
( |
std::format_string< Args... > |
fmt, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
Construct a write error with a format message.
- Template Parameters
-
| Args | Format argument types. |
- Parameters
-
| fmt | C++20 format string. |
| args | Format arguments. |
The documentation for this class was generated from the following file: