43#include <StormByte/exception.hxx>
45#include <StormByte/type_traits/safe.hxx>
83 template <
typename... Args>
84 requires (
sizeof...(Args) >= 1)
108 template <
typename... Args>
109 requires (
sizeof...(Args) >= 1)
Exception(Path path, std::string_view message)
Plain message under an additional Logger path.
Exception(Exception &&other) noexcept=default
Move constructor.
Exception(const Exception &other)=default
Copy constructor.
~Exception() noexcept override
Destructor.
Exception(Path path, std::string_view pattern, Args &&... args)
Replace literal {} under an additional Logger path.
Definition exception.hxx:110
Exception(std::string_view message)
Copy a plain message under StormByte.Logger.
Exception(std::string_view pattern, Args &&... args)
Replace literal {} under StormByte.Logger.
Definition exception.hxx:85
Thrown when a throttle rule is invalid.
Definition exception.hxx:149
~ThrottleError() noexcept override
Destructor.
Exception(std::string_view pattern, Args &&... args)
Replace literal {} under StormByte.Logger.
Definition exception.hxx:85
static String ReplaceToken(std::string_view text, Args &&... args)
STORMBYTE_DECLARE_MAYBE_SAFE(StormByte::Logger::Exception)
Logger module of the StormByte suite.
Additional path segments nested below StormByte.Logger.
Definition exception.hxx:67
std::string_view segments
Additional dotted path segments.
Definition exception.hxx:68
constexpr Path(std::string_view segments) noexcept
Wraps additional path segments.
Definition exception.hxx:74
#define STORMBYTE_LOGGER_PUBLIC
Definition visibility.h:53