MCPcopy Create free account
hub / github.com/argotorg/solidity / what

Method what

libsolutil/Exceptions.cpp:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23using namespace solidity::langutil;
24
25char const* Exception::what() const noexcept
26{
27 // Return the comment if available.
28 if (std::string const* cmt = comment())
29 return cmt->data();
30
31 // Fallback to base what().
32 // Boost accepts nullptr, but the C++ standard doesn't
33 // and crashes on some platforms.
34 return std::exception::what();
35}
36
37std::string Exception::lineInfo() const
38{

Callers 15

mainFunction · 0.80
jsonParseStrictFunction · 0.80
init_unit_test_suiteFunction · 0.80
parseMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
runMethod · 0.80
BOOST_CHECK_EXCEPTIONFunction · 0.80
parseFunctionCallsMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 1

dataMethod · 0.45

Tested by 4

init_unit_test_suiteFunction · 0.64
mainFunction · 0.64
runMethod · 0.64
parseFunctionCallsMethod · 0.64