MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / __init__

Method __init__

mitmproxy/addons/errorcheck.py:50–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

48
49class ErrorCheckHandler(log.MitmLogHandler):
50 def __init__(self) -> None:
51 super().__init__(logging.ERROR)
52 self.has_errored: list[logging.LogRecord] = []
53
54 def emit(self, record: logging.LogRecord) -> None:
55 self.has_errored.append(record)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected