Thrown when Base64 encode or decode fails.
More...
#include <StormByte/exception.hxx>
|
| template<typename... Args> |
| | Exception (Path path, std::format_string< Args... > fmt, Args &&... args) |
| | Stores StormByte.path: message, or StormByte: message when path is empty.
|
| |
Thrown when Base64 encode or decode fails.
Leaf of the root: StormByte: ….
◆ ~Base64Error()
| StormByte::Base64Error::~Base64Error |
( |
| ) |
|
|
overridenoexcept |
Destructor.
Defined in the Base DLL so catch matches across modules.
◆ Exception() [1/6]
| StormByte::Exception::Exception |
( |
const Exception & |
e | ) |
|
|
default |
Copy constructor.
- Parameters
-
◆ Exception() [2/6]
| StormByte::Exception::Exception |
( |
const Safe::String & |
message | ) |
|
|
explicit |
Copies owned text into StormByte: message.
- Parameters
-
◆ Exception() [3/6]
| StormByte::Exception::Exception |
( |
Exception && |
e | ) |
|
|
defaultnoexcept |
Move constructor.
- Parameters
-
◆ Exception() [4/6]
template<typename... Args>
| StormByte::Exception::Exception |
( |
Path |
path, |
|
|
std::format_string< Args... > |
fmt, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
Stores StormByte.path: message, or StormByte: message when path is empty.
- Template Parameters
-
| Args | Format argument types. |
- Parameters
-
| path | Segments under StormByte. |
| fmt | Format string. |
| args | Format arguments. |
- Note
- With zero arguments the format string is the message as-is.
◆ Exception() [5/6]
template<typename... Args>
| StormByte::Exception::Exception |
( |
std::format_string< Args... > |
fmt, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
Constructs with std::format.
Text is StormByte: formatted.
- 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_view |
message | ) |
|
|
explicit |
Copies text into StormByte: message.
- Parameters
-
The documentation for this class was generated from the following file: