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

Method ErrorWatcher

liblangutil/ErrorReporter.h:158–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 {
157 public:
158 ErrorWatcher(ErrorReporter const& _errorReporter):
159 m_errorReporter(_errorReporter),
160 m_initialErrorCount(_errorReporter.errorCount())
161 {}
162 bool ok() const
163 {
164 solAssert(m_initialErrorCount <= m_errorReporter.errorCount(), "Unexpected error count.");

Callers

nothing calls this directly

Calls 1

errorCountMethod · 0.80

Tested by

no test coverage detected