Skip to content

LiteFX::RuntimeException::RuntimeException

Initializes a new exception.

Synopses

Declared in <litefx/exceptions.hpp>

Initializes a new exception.

explicit RuntimeException();

» more...

Copy constructor

constexpr RuntimeException(RuntimeException const& other) = default;

» more...

Move constructor

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

» more...

Initializes a new exception.

explicit RuntimeException(std::string_view message);

» more...

Initializes a new exception.

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

» more...

Parameters

NameDescription
messageThe error message.
formatThe format string for the error message.
argsThe arguments passed to the error message format string.