MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / _extract_line

Method _extract_line

core/error_database.py:322–325  ·  view source on GitHub ↗

Extract line number from error message.

(self, error_message: str)

Source from the content-addressed store, hash-verified

320 return match.group(1) if match else "unknown"
321
322 def _extract_line(self, error_message: str) -> str:
323 """Extract line number from error message."""
324 match = re.search(r'line (\d+)', error_message)
325 return match.group(1) if match else "N"
326
327 def get_statistics(self) -> Dict[str, Any]:
328 """Get error database statistics."""

Callers 1

suggest_fixMethod · 0.95

Calls 1

searchMethod · 0.45

Tested by

no test coverage detected