Skip to content

LiteFX::ArgumentNotInitializedException::ArgumentNotInitializedException

Initializes a new exception.

Synopsis

Declared in <litefx/exceptions.hpp>

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

Parameters

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