Exception thrown when a buffer read / extract / peek operation fails.
More...
#include <StormByte/buffer/exception.hxx>
|
| | ReadError (const std::string &message) |
| | Construct a read error from an unformatted message.
|
| |
| | ReadError (std::string &&message) |
| | Construct a read error from a moved unformatted message.
|
| |
| template<typename... Args> |
| | ReadError (std::format_string< Args... > fmt, Args &&... args) |
| | Construct a read 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 read / extract / peek operation fails.
The component name is fixed to "Buffer::ReadError".
◆ ReadError() [1/3]
| StormByte::Buffer::ReadError::ReadError |
( |
const std::string & |
message | ) |
|
|
inlineexplicit |
Construct a read error from an unformatted message.
- Parameters
-
◆ ReadError() [2/3]
| StormByte::Buffer::ReadError::ReadError |
( |
std::string && |
message | ) |
|
|
inlineexplicit |
Construct a read error from a moved unformatted message.
- Parameters
-
◆ ReadError() [3/3]
template<typename... Args>
| StormByte::Buffer::ReadError::ReadError |
( |
std::format_string< Args... > |
fmt, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
Construct a read 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: