Exception thrown during deserialization errors.
More...
#include <exception.hxx>
|
| | Exception (const std::string &message) |
| | Constructor.
|
| |
| | Exception (std::string &&message) |
| | Constructor.
|
| |
| template<typename... Args> |
| | Exception (std::format_string< Args... > fmt, Args &&... args) |
| | Constructor forwards the message to the std::format function.
|
| |
|
template<typename... Args> |
| | Exception (const std::string &component, std::format_string< Args... > fmt, Args &&... args) |
| |
| | Exception (const Exception &e) |
| | Copy constructor.
|
| |
| | Exception (Exception &&e) noexcept |
| | Move constructor.
|
| |
| | Exception (const std::string &message) |
| | Constructor.
|
| |
| | Exception (std::string &&message) |
| | Constructor.
|
| |
| template<typename... Args> |
| | Exception (std::format_string< Args... > fmt, Args &&... args) |
| | Constructor forwards the message to the std::format function.
|
| |
|
template<typename... Args> |
| | Exception (const std::string &component, std::format_string< Args... > fmt, Args &&... args) |
| |
| | Exception (const Exception &e) |
| | Copy constructor.
|
| |
| | Exception (Exception &&e) noexcept |
| | Move constructor.
|
| |
|
virtual | ~Exception () noexcept |
| | Destructor.
|
| |
| Exception & | operator= (const Exception &e) |
| | Copy assignment operator.
|
| |
| Exception & | operator= (Exception &&e) noexcept |
| | Move assignment operator.
|
| |
| virtual const char * | what () const noexcept |
| | Gets the exception message.
|
| |
Exception thrown during deserialization errors.
◆ Exception() [1/5]
| StormByte::Exception::Exception |
( |
const Exception & |
e | ) |
|
Copy constructor.
- Parameters
-
◆ Exception() [2/5]
| StormByte::Exception::Exception |
( |
const std::string & |
message | ) |
|
|
explicit |
◆ Exception() [3/5]
| StormByte::Exception::Exception |
( |
Exception && |
e | ) |
|
|
noexcept |
Move constructor.
- Parameters
-
◆ Exception() [4/5]
template<typename... Args>
| StormByte::Exception::Exception |
( |
std::format_string< Args... > |
fmt, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
Constructor forwards the message to the std::format function.
- Template Parameters
-
| Args | Format argument types |
- Parameters
-
| fmt | Format string |
| args | Arguments for formatting |
If no arguments are provided, the format string is used as the exception message directly.
◆ Exception() [5/5]
| StormByte::Exception::Exception |
( |
std::string && |
message | ) |
|
|
explicit |
Constructor.
- Parameters
-
| message | Exception message as a moved std::string |
The documentation for this class was generated from the following file:
- /home/runner/work/StormByte/StormByte/lib/public/StormByte/exception.hxx