LiteFX::ArgumentNotInitializedException::ArgumentNotInitializedException¶
Initializes a new exception.
Synopses¶
Declared in <litefx/exceptions.hpp>
Copy constructor
constexpr ArgumentNotInitializedException(ArgumentNotInitializedException const& other) = default;
Move constructor
constexpr ArgumentNotInitializedException(ArgumentNotInitializedException&& other) noexcept = default;
Initializes a new exception.
explicit ArgumentNotInitializedException(std::string_view argument);
Initializes a new exception.
explicit ArgumentNotInitializedException(
std::string_view argument,
std::string_view message);
Initializes a new exception.
template<typename... TArgs>
explicit ArgumentNotInitializedException(
std::string_view argument,
std::format_string<TArgs...> format,
TArgs&&... args);
Parameters¶
| Name | Description |
|---|---|
| argument | The name of the argument that was not initialized. |
| message | The error message. |
| format | The format string for the error message. |
| args | The arguments passed to the error message format string. |