MCPcopy Create free account
hub / github.com/boostorg/filesystem / report_system_error

Function report_system_error

example/error_demo.cpp:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27namespace {
28void report_system_error(const system_error& ex)
29{
30 cout << " threw system_error:\n"
31 << " ex.code().value() is " << ex.code().value() << '\n'
32 << " ex.code().category().name() is " << ex.code().category().name() << '\n'
33 << " ex.what() is " << ex.what() << '\n';
34}
35
36void report_filesystem_error(const system_error& ex)
37{

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected