Skip to content

LiteFX::ArgumentNotInitializedException::ArgumentNotInitializedException

Initializes a new exception.

Synopses

Declared in <litefx/exceptions.hpp>

Copy constructor

constexpr ArgumentNotInitializedException(ArgumentNotInitializedException const& other) = default;

» more...

Move constructor

constexpr ArgumentNotInitializedException(ArgumentNotInitializedException&& other) noexcept = default;

» more...

Initializes a new exception.

explicit ArgumentNotInitializedException(std::string_view argument);

» more...

Initializes a new exception.

explicit ArgumentNotInitializedException(
    std::string_view argument,
    std::string_view message);

» more...

Initializes a new exception.

template<typename... TArgs>
explicit ArgumentNotInitializedException(
    std::string_view argument,
    std::format_string<TArgs...> format,
    TArgs&&... args);

» more...

Parameters

NameDescription
argumentThe name of the argument that was not initialized.
messageThe error message.
formatThe format string for the error message.
argsThe arguments passed to the error message format string.