MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / system_error

Method system_error

system/lib/libcxx/src/system_error.cpp:340–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338// system_error
339
340system_error::system_error(error_code ec, const string& what_arg)
341 : runtime_error(make_error_str(ec, what_arg)), __ec_(ec) {}
342
343system_error::system_error(error_code ec, const char* what_arg)
344 : runtime_error(make_error_str(ec, what_arg)), __ec_(ec) {}

Callers

nothing calls this directly

Calls 2

make_error_strFunction · 0.85
error_codeFunction · 0.85

Tested by

no test coverage detected