73 template <
typename... Args>
74 explicit Exception(std::format_string<Args...> fmt, Args&&... args)
97 template <typename... Args>
102 std::forward<Args>(args)...) {}
113 using Exception::Exception;
133 template <
typename... Args>
134 explicit ReadError(std::format_string<Args...> fmt, Args&&... args)
162 template <
typename... Args>
163 explicit WriteError(std::format_string<Args...> fmt, Args&&... args)
General exception for buffer errors.
Definition exception.hxx:111
~Error() noexcept override
Destructor.
Root exception for Buffer.
Definition exception.hxx:65
Exception(std::format_string< Args... > fmt, Args &&... args)
Format under StormByte.Buffer.
Definition exception.hxx:74
Exception(std::string message)
Format a plain message under StormByte.Buffer.
Definition exception.hxx:81
~Exception() noexcept override
Destructor.
Read, extract or peek failed.
Definition exception.hxx:125
~ReadError() noexcept override
Destructor.
ReadError(std::format_string< Args... > fmt, Args &&... args)
Format under StormByte.Buffer.Read.
Definition exception.hxx:134
ReadError(std::string message)
Format a plain message under StormByte.Buffer.Read.
Definition exception.hxx:141
Write failed.
Definition exception.hxx:154
WriteError(std::format_string< Args... > fmt, Args &&... args)
Format under StormByte.Buffer.Write.
Definition exception.hxx:163
~WriteError() noexcept override
Destructor.
WriteError(std::string message)
Format a plain message under StormByte.Buffer.Write.
Definition exception.hxx:170
Buffer module of the StormByte suite.
Root namespace of the StormByte C++ suite.
#define STORMBYTE_BUFFER_PUBLIC
Definition visibility.h:54