StormByte-Buffer 2.0.0
C++26 buffer module of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Buffer::ReadError Class Reference

Read, extract or peek failed. More...

#include <StormByte/buffer/exception.hxx>

Inheritance diagram for StormByte::Buffer::ReadError:
Collaboration diagram for StormByte::Buffer::ReadError:

Public Member Functions

template<typename... Args>
 ReadError (std::format_string< Args... > fmt, Args &&... args)
 Format under StormByte.Buffer.Read.
 
 ReadError (std::string message)
 Format a plain message under StormByte.Buffer.Read.
 
 ~ReadError () noexcept override
 Destructor.
 
- Public Member Functions inherited from StormByte::Buffer::Error
 ~Error () noexcept override
 Destructor.
 
template<typename... Args>
 Exception (std::format_string< Args... > fmt, Args &&... args)
 Format under StormByte.Buffer.
 
 Exception (std::string message)
 Format a plain message under StormByte.Buffer.
 
template<typename... Args>
 Exception (StormByte::Exception::Path child, std::format_string< Args... > fmt, Args &&... args)
 Format under StormByte.Buffer.
 
- Public Member Functions inherited from StormByte::Buffer::Exception
template<typename... Args>
 Exception (std::format_string< Args... > fmt, Args &&... args)
 Format under StormByte.Buffer.
 
 Exception (std::string message)
 Format a plain message under StormByte.Buffer.
 
 ~Exception () noexcept override
 Destructor.
 
- Public Member Functions inherited from StormByte::Exception
 Exception (const std::string &message)
 
 Exception (std::string &&message)
 
 Exception (std::format_string< Args... > fmt, Args &&... args)
 
 Exception (const Exception &e)=default
 
 Exception (Exception &&e) noexcept=default
 
Exception & operator= (const Exception &e)=default
 
Exception & operator= (Exception &&e) noexcept=default
 
virtual const char * what () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from StormByte::Buffer::Exception
template<typename... Args>
 Exception (StormByte::Exception::Path child, std::format_string< Args... > fmt, Args &&... args)
 Format under StormByte.Buffer.
 
- Protected Member Functions inherited from StormByte::Exception
 Exception (Path path, std::format_string< Args... > fmt, Args &&... args)
 

Detailed Description

Read, extract or peek failed.

what() is StormByte.Buffer.Read: message.

Constructor & Destructor Documentation

◆ ReadError() [1/2]

template<typename... Args>
StormByte::Buffer::ReadError::ReadError ( std::format_string< Args... >  fmt,
Args &&...  args 
)
inlineexplicit

Format under StormByte.Buffer.Read.

Template Parameters
ArgsFormat argument types.
Parameters
fmtFormat string.
argsFormat arguments.

◆ ReadError() [2/2]

StormByte::Buffer::ReadError::ReadError ( std::string  message)
inlineexplicit

Format a plain message under StormByte.Buffer.Read.

Parameters
messageException text.

◆ ~ReadError()

StormByte::Buffer::ReadError::~ReadError ( )
overridenoexcept

Destructor.

Defined in this module so catch matches across a DLL.


The documentation for this class was generated from the following file: