MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / catch

Function catch

programs/install/Install.cpp:1002–1010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1000 }
1001 }
1002 catch (const fs::filesystem_error &)
1003 {
1004 std::cerr << getCurrentExceptionMessage(false) << '\n';
1005
1006 if (getuid() != 0)
1007 std::cerr << "\nRun with " << formatWithSudo("...") << "\n";
1008
1009 return getCurrentExceptionCode();
1010 }
1011 catch (...)
1012 {
1013 std::cerr << getCurrentExceptionMessage(false) << '\n';

Callers

nothing calls this directly

Calls 3

formatWithSudoFunction · 0.85
getCurrentExceptionCodeFunction · 0.85

Tested by

no test coverage detected