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

Method errorMessage

test/CommonSyntaxTest.cpp:226–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226std::string CommonSyntaxTest::errorMessage(util::Exception const& _e)
227{
228 if (_e.comment() && !_e.comment()->empty())
229 return boost::replace_all_copy(*_e.comment(), "\n", "\\n");
230 else
231 return "NONE";
232}
233
234std::vector<SyntaxTestError> CommonSyntaxTest::parseExpectations(std::istream& _stream)
235{

Callers

nothing calls this directly

Calls 2

commentMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected