Skip to content

LiteFX::InvalidArgumentException::InvalidArgumentException

Initializes a new exception.

Synopsis

Declared in <litefx/exceptions.hpp>

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

Parameters

NameDescription
argumentThe name of the argument that was invalid.
messageThe error message.