Thrown when Base64 encode or decode fails.
More...
#include <StormByte/exception.hxx>
|
| | Exception (const std::string &message) |
| | Constructs from a string.
|
| |
| | Exception (std::string &&message) |
| | Constructs from a moved string.
|
| |
| template<typename... Args> |
| | Exception (std::format_string< Args... > fmt, Args &&... args) |
| | Constructs with std::format.
|
| |
| template<typename... Args> |
| | Exception (Component component, std::format_string< Args... > fmt, Args &&... args) |
| | Constructs with a component prefix and std::format.
|
| |
| | Exception (const Exception &e) |
| | Copy constructor.
|
| |
| | Exception (Exception &&e) noexcept |
| | Move constructor.
|
| |
| | Exception (const std::string &message) |
| | Constructs from a string.
|
| |
| | Exception (std::string &&message) |
| | Constructs from a moved string.
|
| |
| template<typename... Args> |
| | Exception (std::format_string< Args... > fmt, Args &&... args) |
| | Constructs with std::format.
|
| |
| template<typename... Args> |
| | Exception (Component component, std::format_string< Args... > fmt, Args &&... args) |
| | Constructs with a component prefix and std::format.
|
| |
| | Exception (const Exception &e) |
| | Copy constructor.
|
| |
| | Exception (Exception &&e) noexcept |
| | Move constructor.
|
| |
| virtual | ~Exception () noexcept |
| | Destructor.
|
| |
| Exception & | operator= (const Exception &e) |
| | Copy assignment.
|
| |
| Exception & | operator= (Exception &&e) noexcept |
| | Move assignment.
|
| |
| virtual const char * | what () const noexcept |
| | Message pointer.
|
| |
Thrown when Base64 encode or decode fails.
◆ Exception() [1/6]
template<typename... Args>
| StormByte::Exception::Exception |
( |
Component |
component, |
|
|
std::format_string< Args... > |
fmt, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
Constructs with a component prefix and std::format.
- Template Parameters
-
| Args | Format argument types. |
- Parameters
-
| component | Module name, wrapped so it cannot be mistaken for fmt. |
| fmt | Format string. |
| args | Format arguments. |
- Note
- Final text is
StormByte::<component>: <formatted>.
◆ Exception() [2/6]
| StormByte::Exception::Exception |
( |
const Exception & |
e | ) |
|
Copy constructor.
- Parameters
-
◆ Exception() [3/6]
| StormByte::Exception::Exception |
( |
const std::string & |
message | ) |
|
|
explicit |
Constructs from a string.
- Parameters
-
◆ Exception() [4/6]
| StormByte::Exception::Exception |
( |
Exception && |
e | ) |
|
|
noexcept |
Move constructor.
- Parameters
-
◆ Exception() [5/6]
template<typename... Args>
| StormByte::Exception::Exception |
( |
std::format_string< Args... > |
fmt, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
Constructs with std::format.
- Template Parameters
-
| Args | Format argument types. |
- Parameters
-
| fmt | Format string. |
| args | Format arguments. |
- Note
- With zero arguments the format string is the message as-is.
◆ Exception() [6/6]
| StormByte::Exception::Exception |
( |
std::string && |
message | ) |
|
|
explicit |
Constructs from a moved string.
- Parameters
-
The documentation for this class was generated from the following file: