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

Function report_filesystem_error

example/error_demo.cpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void report_filesystem_error(const system_error& ex)
37{
38 cout << " threw filesystem_error exception:\n"
39 << " ex.code().value() is " << ex.code().value() << '\n'
40 << " ex.code().category().name() is " << ex.code().category().name() << '\n'
41 << " ex.what() is " << ex.what() << '\n';
42}
43
44void report_status(fs::file_status s)
45{

Callers 1

mainFunction · 0.85

Calls 2

whatMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected