43#include <StormByte/exception.hxx>
87 template <
typename... Args>
88 requires (
sizeof...(Args) >= 1)
Exception(const Exception &other)=default
Copy constructor.
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() noexcept override
Destructor.
Exception(Exception &&other) noexcept=default
Move constructor.
Exception(std::string_view pattern, Args &&... args)
Replace literal {} under StormByte.Config.
Definition exception.hxx:89
Thrown when an invalid name is used for an item.
Definition exception.hxx:169
~InvalidName() noexcept override
Destructor.
Exception(std::string_view pattern, Args &&... args)
Replace literal {} under StormByte.Config.
Definition exception.hxx:89
Thrown when an invalid path is used for an item.
Definition exception.hxx:183
~InvalidPath() noexcept override
Destructor.
Exception(std::string_view pattern, Args &&... args)
Replace literal {} under StormByte.Config.
Definition exception.hxx:89
Thrown when attempting to add an item that already exists.
Definition exception.hxx:225
~ItemAlreadyExists() noexcept override
Destructor.
Exception(std::string_view pattern, Args &&... args)
Replace literal {} under StormByte.Config.
Definition exception.hxx:89
Thrown when an item's name conflicts with an existing name.
Definition exception.hxx:239
~ItemNameAlreadyExists() noexcept override
Destructor.
Exception(std::string_view pattern, Args &&... args)
Replace literal {} under StormByte.Config.
Definition exception.hxx:89
Thrown when an item cannot be found by its path or name.
Definition exception.hxx:211
~ItemNotFound() noexcept override
Destructor.
Exception(std::string_view pattern, Args &&... args)
Replace literal {} under StormByte.Config.
Definition exception.hxx:89
Thrown when an index is out of bounds.
Definition exception.hxx:253
~OutOfBounds() noexcept override
Destructor.
Exception(std::string_view pattern, Args &&... args)
Replace literal {} under StormByte.Config.
Definition exception.hxx:89
Thrown when a parsing error occurs in a configuration file.
Definition exception.hxx:197
~ParseError() noexcept override
Destructor.
Exception(std::string_view pattern, Args &&... args)
Replace literal {} under StormByte.Config.
Definition exception.hxx:89
Thrown when setting a value fails due to type mismatch.
Definition exception.hxx:155
~ValueFailure() noexcept override
Destructor.
Exception(std::string_view pattern, Args &&... args)
Replace literal {} under StormByte.Config.
Definition exception.hxx:89
Thrown when a value is converted to an incorrect type.
Definition exception.hxx:141
~WrongValueTypeConversion() noexcept override
Destructor.
Exception(std::string_view pattern, Args &&... args)
Replace literal {} under StormByte.Config.
Definition exception.hxx:89
Config module of the StormByte suite.
Definition alias.hxx:51
Root namespace of the StormByte suite.
Additional path segments nested below StormByte.Config.
Definition exception.hxx:71
constexpr Path(std::string_view segments) noexcept
Wraps additional path segments.
Definition exception.hxx:78
std::string_view segments
Additional dotted path segments.
Definition exception.hxx:72
#define STORMBYTE_CONFIG_PUBLIC
Definition visibility.h:53