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

Function emit_error

src/exception.cpp:161–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159// error handling helpers declared in error_handling.hpp -----------------------------------------------------//
160
161void emit_error(err_t error_num, system::error_code* ec, const char* message)
162{
163 if (!ec)
164 BOOST_FILESYSTEM_THROW(filesystem_error(message, system::error_code(error_num, system::system_category())));
165 else
166 ec->assign(error_num, system::system_category());
167}
168
169void emit_error(err_t error_num, path const& p, system::error_code* ec, const char* message)
170{

Callers 15

operations.cppFile · 0.85
remove_nt5_implFunction · 0.85
remove_nt6_implFunction · 0.85
remove_implFunction · 0.85
remove_all_nt6_by_handleFunction · 0.85
remove_all_nt5_implFunction · 0.85
remove_all_implFunction · 0.85
canonical_commonFunction · 0.85
copyFunction · 0.85
copy_fileFunction · 0.85
create_directoryFunction · 0.85
create_directory_symlinkFunction · 0.85

Calls 1

assignMethod · 0.45

Tested by

no test coverage detected