Thrown when a value is converted to an incorrect type. More...
#include <StormByte/config/exception.hxx>


Public Member Functions | |
| ~WrongValueTypeConversion () noexcept override | |
| Destructor. | |
| template<typename... Args> requires (sizeof...(Args) >= 1) | |
| Exception (std::string_view pattern, Args &&... args) | |
| Replace literal {} under StormByte.Config. | |
| Exception (std::string_view message) | |
| Format a plain message under StormByte.Config. | |
| Exception (Path path, std::string_view message) | |
| Plain message under an additional Config 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> requires (sizeof...(Args) >= 1) | |
| Exception (std::string_view pattern, Args &&... args) | |
| Replace literal {} under StormByte.Config. | |
| Exception (std::string_view message) | |
| Format a plain message under StormByte.Config. | |
| Exception (Path path, std::string_view message) | |
| Plain message under an additional Config 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 (std::string_view message) | |
| Exception (const Exception &other) | |
| Exception (Exception &&other) noexcept | |
| Exception & | operator= (const Exception &other) |
| Exception & | operator= (Exception &&other) noexcept |
| virtual const char * | what () const noexcept |
Additional Inherited Members | |
| Protected Member Functions inherited from StormByte::Exception | |
| Exception () noexcept | |
| Exception (Path path, std::string_view message) | |
| Exception (Path path, Safe::String &&message) | |
| Exception (Path path, std::string_view pattern, Args &&... args) | |
Thrown when a value is converted to an incorrect type.
|
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. |
| StormByte::Config::Exception::Exception | ( | Path | path, |
| std::string_view | message ) |
Plain message under an additional Config path.
| path | Additional segments nested below StormByte.Config. |
| message | Exception text. Not a format string. |
|
explicit |
Format a plain message under StormByte.Config.
| message | Exception text. Not a format string. |
|
inline |
Replace literal {} under StormByte.Config.
| Args | Views, or numbers. A number is converted with std::to_string. |
| pattern | Body with literal {} tokens. Not a std::format string. |
| args | Replacements. One per token, in order. |