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

Method system_error

src/exception.cpp:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace filesystem {
26
27BOOST_FILESYSTEM_DECL filesystem_error::filesystem_error(const char* what_arg, system::error_code ec) :
28 system::system_error(ec, what_arg)
29{
30 try
31 {
32 m_imp_ptr.reset(new impl());
33 }
34 catch (...)
35 {
36 m_imp_ptr.reset();
37 }
38}
39
40BOOST_FILESYSTEM_DECL filesystem_error::filesystem_error(std::string const& what_arg, system::error_code ec) :
41 system::system_error(ec, what_arg)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected