Extract line number from error message.
(self, error_message: str)
| 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.""" |