2#ifndef LIBSBX_UTILITY_EXCEPTION_HPP_
3#define LIBSBX_UTILITY_EXCEPTION_HPP_
7#include <source_location>
12#include <fmt/format.h>
14#include <libsbx/utility/target.hpp>
16namespace sbx::utility {
20 template<
typename... Args>
21 runtime_error(fmt::format_string<Args...> fmt, Args&&... args)
22 : std::runtime_error{fmt::format(fmt, std::forward<Args>(args)...)} { }
Definition: exception.hpp:18