27 virtual std::string
whatStr()
const;
39 virtual std::string
whatStr()
const;
51 using NumericException::NumericException;
80 std::is_base_of_v<RuntimeException, T> ||
81 std::is_base_of_v<LogicalException, T>;
85inline void throw_formatted(
const std::format_string<Args...> msgFormat, Args&&... args)
89 std::vformat(msgFormat.get(), std::make_format_args(args...)));
Definition exceptions.h:61
Definition exceptions.h:67
General exception thrown on logical error.
Definition exceptions.h:33
LogicalException(const std::string &message)
Definition exception.cpp:19
~LogicalException() override=default
virtual std::string whatStr() const
Definition exception.cpp:27
Definition exceptions.h:43
Definition exceptions.h:73
Definition exceptions.h:49
General exception thrown on runtime error.
Definition exceptions.h:21
RuntimeException(const std::string &message)
Definition exception.cpp:6
virtual std::string whatStr() const
Definition exception.cpp:14
~RuntimeException() override=default
Definition exceptions.h:55
Definition exceptions.h:79
The root for all renderer implementations.
Definition assertion.h:9
std::exception Exception
Definition exceptions.h:16
void throw_formatted(const std::format_string< Args... > msgFormat, Args &&... args)
Definition exceptions.h:85