General exception class for buffer errors.
More...
#include <StormByte/buffer/exception.hxx>
|
| | 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.
|
| |
General exception class for buffer errors.
Intermediate base for module-specific failures. Inherits constructors from Exception via using Exception::Exception.
- See also
- ReadError, WriteError
◆ Exception() [1/4]
| StormByte::Buffer::Exception::Exception |
( |
const std::string & |
message | ) |
|
|
inlineexplicit |
Construct a Buffer exception from an unformatted message.
- Parameters
-
◆ Exception() [2/4]
template<typename... Args>
| StormByte::Buffer::Exception::Exception |
( |
std::format_string< Args... > |
fmt, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
Construct a Buffer exception with a formatted message.
- Template Parameters
-
| Args | Format argument types. |
- Parameters
-
| fmt | C++20 format string. |
| args | Format arguments. |
◆ Exception() [3/4]
| StormByte::Buffer::Exception::Exception |
( |
std::string && |
message | ) |
|
|
inlineexplicit |
Construct a Buffer exception from a moved unformatted message.
- Parameters
-
◆ Exception() [4/4]
template<typename... Args>
| StormByte::Buffer::Exception::Exception |
( |
StormByte::Component |
component, |
|
|
std::format_string< Args... > |
fmt, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
Construct a Buffer exception with an explicit component.
- Template Parameters
-
| Args | Format argument types. |
- Parameters
-
| component | Component name inserted after "StormByte::". |
| fmt | C++20 format string. |
| args | Format arguments. |
The documentation for this class was generated from the following file: