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

Method printExceptionInformation

liblangutil/SourceReferenceFormatter.cpp:206–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206void SourceReferenceFormatter::printExceptionInformation(SourceReferenceExtractor::Message const& _msg)
207{
208 printPrimaryMessage(m_stream, _msg.primary.message, _msg._typeOrSeverity, _msg.errorId, m_colored, m_withErrorIds);
209 printSourceLocation(_msg.primary);
210
211 for (auto const& secondary: _msg.secondary)
212 {
213 secondaryColored() << "Note";
214 messageColored() << ":" << (secondary.message.empty() ? "" : (" " + secondary.message)) << '\n';
215 printSourceLocation(secondary);
216 }
217
218 m_stream << '\n';
219}
220
221void SourceReferenceFormatter::printExceptionInformation(util::Exception const& _exception, Error::Type _type)
222{

Callers 2

compileMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected