INNER CODE UNIT · Python
handleError
intermine/intermine · config/lib/parse_checkstyle_report.py:40
def handleError(self, attrs):
err = Error(
attrs.get("severity"),
attrs.get("line"),
attrs.get("column"),
attrs.get("message"),
)
if not self.can_ignore(err):
self.errors[self.currentFile].append(err)
class NervousErrorHandler(ErrorHandler):
def error(self, exception):
raise exception
def warning(self, exception):
raise exception