44#include <StormByte/exception.hxx>
45#include <StormByte/safe/string.hxx>
46#include <StormByte/type_traits/safe.hxx>
79 template<
typename... Args>
80 requires (
sizeof...(Args) >= 1)
81 explicit Exception(std::string_view pattern, Args&&... args)
130 template<typename... Args>
131 requires (sizeof...(Args) >= 1)
133 :
Exception(child, static_cast<
std::string_view>(
Safe::String::ReplaceToken(pattern,
std::forward<Args>(args)...))) {}
Root exception for Crypto.
Definition exception.hxx:67
Exception(std::string_view message)
Plain message under StormByte.Crypto.
~Exception() noexcept override
Destructor.
Exception(Exception &&other) noexcept
Move constructor.
Exception(StormByte::Exception::Path child, std::string_view message)
Plain message under StormByte.Crypto plus the child segment.
Exception(const Exception &other)
Copy constructor.
Exception(std::string_view pattern, Args &&... args)
Replace literal {} under StormByte.Crypto.
Definition exception.hxx:81
static String ReplaceToken(std::string_view text, Args &&... args)
STORMBYTE_DECLARE_MAYBE_SAFE(class StormByte::System::Device::Access)
Crypto module of the StormByte suite.
Definition aead.hxx:53
Root namespace of the StormByte suite.
#define STORMBYTE_CRYPTO_PUBLIC
Definition visibility.h:53