Root exception for Config.
More...
#include <StormByte/config/exception.hxx>
|
| | Exception (Path path, std::format_string< Args... > fmt, Args &&... args) |
| |
Root exception for Config.
what() is StormByte.Config: message.
◆ Exception() [1/5]
template<typename... Args>
| StormByte::Config::Exception::Exception |
( |
std::format_string< Args... > |
fmt, |
|
|
Args &&... |
args |
|
) |
| |
|
inlineexplicit |
Format under StormByte.Config.
- Template Parameters
-
| Args | Format argument types. |
- Parameters
-
| fmt | Format string. |
| args | Format arguments. |
◆ Exception() [2/5]
| StormByte::Config::Exception::Exception |
( |
std::string |
message | ) |
|
|
inlineexplicit |
◆ Exception() [3/5]
| StormByte::Config::Exception::Exception |
( |
std::string_view |
path, |
|
|
std::string |
message |
|
) |
| |
|
inline |
Plain message under an explicit path.
- Parameters
-
| path | Segments under StormByte. Not a format string. |
| message | Exception text. Not a format string. |
StormByte::Exception::Path is protected, so callers pass the segments as a view. The view only needs to live for this call.
◆ Exception() [4/5]
| StormByte::Config::Exception::Exception |
( |
const Exception & |
other | ) |
|
|
default |
Copy constructor.
- Parameters
-
◆ Exception() [5/5]
| StormByte::Config::Exception::Exception |
( |
Exception && |
other | ) |
|
|
defaultnoexcept |
Move constructor.
- Parameters
-
◆ ~Exception()
| StormByte::Config::Exception::~Exception |
( |
| ) |
|
|
overridevirtualnoexcept |
Destructor.
Defined in this module so catch matches across a DLL.
Reimplemented from StormByte::Exception.
◆ operator=() [1/2]
Copy assignment operator.
- Parameters
-
- Returns
- Reference to this Exception.
◆ operator=() [2/2]
Move assignment operator.
- Parameters
-
- Returns
- Reference to this Exception.
The documentation for this class was generated from the following file: