75 template <
typename... Args>
76 explicit Exception(std::format_string<Args...> fmt, Args&&... args)
106 template <typename... Args>
111 std::forward<Args>(args)...) {}
122 std::string_view(message)) {}
133 using Exception::Exception;
153 template <
typename... Args>
154 explicit ReadError(std::format_string<Args...> fmt, Args&&... args)
189 template <
typename... Args>
190 explicit WriteError(std::format_string<Args...> fmt, Args&&... args)
General exception for buffer errors.
Definition exception.hxx:131
~Error() noexcept override
Destructor.
Root exception for Buffer.
Definition exception.hxx:67
Exception(StormByte::Exception::Path child, const StormByte::Safe::String &message)
Copies Base-owned text under StormByte.Buffer.
Definition exception.hxx:118
Exception(const StormByte::Safe::String &message)
Copies Base-owned text under StormByte.Buffer.
Definition exception.hxx:90
Exception(std::format_string< Args... > fmt, Args &&... args)
Format under StormByte.Buffer.
Definition exception.hxx:76
Exception(std::string message)
Format a plain message under StormByte.Buffer.
Definition exception.hxx:83
~Exception() noexcept override
Destructor.
Read, extract or peek failed.
Definition exception.hxx:145
~ReadError() noexcept override
Destructor.
ReadError(std::format_string< Args... > fmt, Args &&... args)
Format under StormByte.Buffer.Read.
Definition exception.hxx:154
ReadError(const StormByte::Safe::String &message)
Copies Base-owned text under StormByte.Buffer.Read.
Definition exception.hxx:168
ReadError(std::string message)
Format a plain message under StormByte.Buffer.Read.
Definition exception.hxx:161
Write failed.
Definition exception.hxx:181
WriteError(std::format_string< Args... > fmt, Args &&... args)
Format under StormByte.Buffer.Write.
Definition exception.hxx:190
~WriteError() noexcept override
Destructor.
WriteError(const StormByte::Safe::String &message)
Copies Base-owned text under StormByte.Buffer.Write.
Definition exception.hxx:204
WriteError(std::string message)
Format a plain message under StormByte.Buffer.Write.
Definition exception.hxx:197
Buffer module of the StormByte suite.
Root namespace of the StormByte C++ suite.
#define STORMBYTE_BUFFER_PUBLIC
Definition visibility.h:54