5#include "errors/impl/error_without_cause.hpp"
34 const char *
what() const noexcept
override
43static_assert(!std::is_abstract<runtime_error>());
A base error class.
Definition error_without_cause.hpp:18
An error that has a message.
Definition runtime_error.hpp:18
std::string message
The error message.
Definition runtime_error.hpp:41
runtime_error(std::string msg, source_location loc)
Constructor with message and source_location.
Definition runtime_error.hpp:28
const char * what() const noexcept override
Get error message.
Definition runtime_error.hpp:34
The source location.
Definition source_location.hpp:46