Detect exception lines.
Extract prev_line for section_failure.
Fix a pattern to detect test_all_error_detail.
Add a test.