Skip to content

LiteFX::ArgumentOutOfRangeException::ArgumentOutOfRangeException

Initializes a new exception.

Synopsis

Declared in <litefx/exceptions.hpp>

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

Parameters

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