Thrown when an invalid path is used for an item. More...
#include <StormByte/config/exception.hxx>


Public Member Functions | |
| ~InvalidPath () noexcept override | |
| Destructor. | |
| template<typename... Args> | |
| Exception (std::format_string< Args... > fmt, Args &&... args) | |
Format under StormByte.Config. | |
| Exception (std::string message) | |
Format a plain message under StormByte.Config. | |
| Exception (std::string_view path, std::string message) | |
| Plain message under an explicit path. | |
| Exception (const Exception &other)=default | |
| Copy constructor. | |
| Exception (Exception &&other) noexcept=default | |
| Move constructor. | |
Public Member Functions inherited from StormByte::Config::Exception | |
| template<typename... Args> | |
| Exception (std::format_string< Args... > fmt, Args &&... args) | |
Format under StormByte.Config. | |
| Exception (std::string message) | |
Format a plain message under StormByte.Config. | |
| Exception (std::string_view path, std::string message) | |
| Plain message under an explicit path. | |
| Exception (const Exception &other)=default | |
| Copy constructor. | |
| Exception (Exception &&other) noexcept=default | |
| Move constructor. | |
| ~Exception () noexcept override | |
| Destructor. | |
| Exception & | operator= (const Exception &other)=default |
| Copy assignment operator. | |
| Exception & | operator= (Exception &&other) noexcept=default |
| Move assignment operator. | |
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::Exception | |
| Exception (Path path, std::format_string< Args... > fmt, Args &&... args) | |
Thrown when an invalid path is used for an item.
|
overridenoexcept |
Destructor.
Defined in this module so catch matches across a DLL.
|
default |
Copy constructor.
| other | Exception to copy. |
|
defaultnoexcept |
Move constructor.
| other | Exception to move. |
|
inlineexplicit |
Format under StormByte.Config.
| Args | Format argument types. |
| fmt | Format string. |
| args | Format arguments. |
|
inlineexplicit |
Format a plain message under StormByte.Config.
| message | Exception text. Not a format string. |
|
inline |
Plain message under an explicit path.
| 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.