Root exception for Secure.
More...
#include <StormByte/crypto/secure/exception.hxx>
|
template<typename... Args>
requires (sizeof...(Args) >= 1) |
| | Exception (StormByte::Exception::Path child, std::string_view pattern, Args &&... args) |
| | Replace literal {} under StormByte.Crypto.Secure plus the child segment.
|
| | Exception (StormByte::Exception::Path child, std::string_view message) |
| | Plain message under StormByte.Crypto.Secure plus the child segment.
|
template<typename... Args>
requires (sizeof...(Args) >= 1) |
| | Exception (StormByte::Exception::Path child, std::string_view pattern, Args &&... args) |
| | Replace literal {} under StormByte.Crypto plus the child segment.
|
| | Exception (StormByte::Exception::Path child, std::string_view message) |
| | Plain message under StormByte.Crypto plus the child segment.
|
| | Exception () noexcept |
| | Exception (Path path, std::string_view message) |
| | Exception (Path path, Safe::String &&message) |
| | Exception (Path path, std::string_view pattern, Args &&... args) |
Root exception for Secure.
what() is StormByte.Crypto.Secure: message.
This type applies the Secure segment under Crypto. A further segment is a StormByte::Exception::Path (Vault). Literal {} are replaced by StormByte::Safe::String::ReplaceToken. This does not call std::format.
◆ Exception() [1/6]
template<typename... Args>
requires (sizeof...(Args) >= 1)
| StormByte::Crypto::Secure::Exception::Exception |
( |
std::string_view | pattern, |
|
|
Args &&... | args ) |
|
inlineexplicit |
Replace literal {} under StormByte.Crypto.Secure.
- Template Parameters
-
| Args | Views, numbers, or types that convert to std::string. A number uses std::to_string. |
- Parameters
-
| pattern | Body with literal {} tokens. Not a std::format string. |
| args | Replacements. One per token, in order. |
◆ Exception() [2/6]
| StormByte::Crypto::Secure::Exception::Exception |
( |
std::string_view | message | ) |
|
|
inlineexplicit |
◆ Exception() [3/6]
| StormByte::Crypto::Secure::Exception::Exception |
( |
const Exception & | other | ) |
|
Copy constructor.
- Parameters
-
◆ Exception() [4/6]
| StormByte::Crypto::Secure::Exception::Exception |
( |
Exception && | other | ) |
|
|
noexcept |
Move constructor.
- Parameters
-
◆ ~Exception()
| StormByte::Crypto::Secure::Exception::~Exception |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ Exception() [5/6]
template<typename... Args>
requires (sizeof...(Args) >= 1)
Replace literal {} under StormByte.Crypto.Secure plus the child segment.
- Template Parameters
-
| Args | Views, numbers, or types that convert to std::string. A number uses std::to_string. |
- Parameters
-
| child | Segment under Secure. Not the full path. |
| pattern | Body with literal {} tokens. Not a std::format string. |
| args | Replacements. One per token, in order. |
◆ Exception() [6/6]
◆ operator=() [1/2]
Copy assignment.
- Parameters
-
- Returns
- Reference to this exception.
◆ operator=() [2/2]
Move assignment.
- Parameters
-
- Returns
- Reference to this exception.
The documentation for this class was generated from the following file: