MCPcopy Create free account
hub / github.com/Accenture/mcp-bench / __init__

Method __init__

utils/error_handler.py:336–339  ·  view source on GitHub ↗

Initialize error statistics.

(self)

Source from the content-addressed store, hash-verified

334 """
335
336 def __init__(self) -> None:
337 """Initialize error statistics."""
338 self.error_counts = {}
339 self.total_errors = 0
340
341 def record_error(self, operation_name: str, exception: Exception) -> None:
342 """Record an error occurrence.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected