StormByte-Logger 2.0.0
C++26 logger module of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Logger::ThrottleError Class Reference

Thrown when a throttle rule is invalid. More...

#include <StormByte/logger/exception.hxx>

Inheritance diagram for StormByte::Logger::ThrottleError:
Collaboration diagram for StormByte::Logger::ThrottleError:

Public Member Functions

 ~ThrottleError () noexcept override
 Destructor.
 
template<typename... Args>
 Exception (std::format_string< Args... > fmt, Args &&... args)
 Format under StormByte.Logger.
 
template<typename... Args>
 Exception (StormByte::Exception::Path child, std::format_string< Args... > fmt, Args &&... args)
 Format under StormByte.Logger.
 
- Public Member Functions inherited from StormByte::Logger::Exception
template<typename... Args>
 Exception (std::format_string< Args... > fmt, Args &&... args)
 Format under StormByte.Logger.
 
 ~Exception () noexcept override
 Destructor.
 
- Public Member Functions inherited from StormByte::Exception
 Exception (const std::string &message)
 
 Exception (std::string &&message)
 
 Exception (std::format_string< Args... > fmt, Args &&... args)
 
 Exception (const Exception &e)=default
 
 Exception (Exception &&e) noexcept=default
 
Exception & operator= (const Exception &e)=default
 
Exception & operator= (Exception &&e) noexcept=default
 
virtual const char * what () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from StormByte::Logger::Exception
template<typename... Args>
 Exception (StormByte::Exception::Path child, std::format_string< Args... > fmt, Args &&... args)
 Format under StormByte.Logger.
 
- Protected Member Functions inherited from StormByte::Exception
 Exception (Path path, std::format_string< Args... > fmt, Args &&... args)
 

Detailed Description

Thrown when a throttle rule is invalid.

Leaf: no extra segment.

Constructor & Destructor Documentation

◆ ~ThrottleError()

StormByte::Logger::ThrottleError::~ThrottleError ( )
overridenoexcept

Destructor.

Defined in this module so catch matches across a DLL.

Member Function Documentation

◆ Exception() [1/2]

template<typename... Args>
StormByte::Logger::Exception::Exception ( std::format_string< Args... >  fmt,
Args &&...  args 
)
inlineexplicit

Format under StormByte.Logger.

Template Parameters
ArgsFormat argument types.
Parameters
fmtFormat string.
argsFormat arguments.

◆ Exception() [2/2]

template<typename... Args>
StormByte::Logger::Exception::Exception ( StormByte::Exception::Path  child,
std::format_string< Args... >  fmt,
Args &&...  args 
)
inlineexplicit

Format under StormByte.Logger.

<child>.

Template Parameters
ArgsFormat argument types.
Parameters
childSegment under Logger.
fmtFormat string.
argsFormat arguments.

The documentation for this class was generated from the following file: