LiteFX::RuntimeException::RuntimeException¶
Initializes a new exception.
Synopses¶
Declared in <litefx/exceptions.hpp>
Initializes a new exception.
explicit RuntimeException();
Copy constructor
constexpr RuntimeException(RuntimeException const& other) = default;
Move constructor
constexpr RuntimeException(RuntimeException&& other) noexcept = default;
Initializes a new exception.
explicit RuntimeException(std::string_view message);
Initializes a new exception.
template<typename... TArgs>
explicit RuntimeException(
std::format_string<TArgs...> format,
TArgs&&... args);
Parameters¶
| Name | Description |
|---|---|
| message | The error message. |
| format | The format string for the error message. |
| args | The arguments passed to the error message format string. |