MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / init

Method init

extlibs/fmt/include/fmt/format-inl.h:216–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214FMT_API FMT_FUNC system_error::~system_error() FMT_NOEXCEPT = default;
215
216FMT_FUNC void system_error::init(int err_code, string_view format_str,
217 format_args args) {
218 error_code_ = err_code;
219 memory_buffer buffer;
220 format_system_error(buffer, err_code, vformat(format_str, args));
221 std::runtime_error& base = *this;
222 base = std::runtime_error(to_string(buffer));
223}
224
225namespace internal {
226

Callers

nothing calls this directly

Calls 2

vformatFunction · 0.70
to_stringFunction · 0.70

Tested by

no test coverage detected