26#include <fmt/format.h>
31inline namespace base {
44 return fmt::format(FMT_STRING(
"{} ({}:{}:{})"), message,
45 source_info.file_path(), source_info.line(), source_info.column());
63 :
std::runtime_error(
impl::format_error(message, source_info)) {}
Class of exception on failure in algorithm.
Class of exception on assertion failure.
Class of exception on errors in files.
num_collect_exception(std::string_view message, util::source_info_view source_info=util::source_info_view())
Constructor.
Class of exception on invalid arguments.
num_collect_exception(std::string_view message, util::source_info_view source_info=util::source_info_view())
Constructor.
num_collect_exception(std::string_view message, util::source_info_view source_info=util::source_info_view())
Constructor.
Class of exception on not satisfying a precondition.
num_collect_exception(std::string_view message, util::source_info_view source_info=util::source_info_view())
Constructor.
Class to hold information of source codes.
Namespace of internal implementations.
auto format_error(std::string_view message, util::source_info_view source_info) -> std::string
Format error.
Namespace of definitions common in this project.
Namespace of num_collect source codes.
Definition of source_info_view class.