Commit 3c71187
fix: restore
The keyword was removed in #611 to prevent HTTP 404 messages from being
misclassified as validation errors. However, the pattern reordering
(http_error now comes before validation) already handles that — HTTP 404
messages match `http_error` first via `"http 404"` keyword. Removing
`"does not exist"` from validation caused SQL errors like
`"column foo does not exist"` to fall through to `unknown`.
Restore the keyword and add a test for the SQL case.
Caught by multi-model code review (Claude + Gemini 3.1 Pro consensus).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>does not exist to validation error keywords1 parent 086d7b2 commit 3c71187
2 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
798 | | - | |
| 798 | + | |
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
| |||
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
| 814 | + | |
814 | 815 | | |
815 | 816 | | |
816 | 817 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1628 | 1628 | | |
1629 | 1629 | | |
1630 | 1630 | | |
1631 | | - | |
| 1631 | + | |
1632 | 1632 | | |
1633 | 1633 | | |
1634 | 1634 | | |
1635 | 1635 | | |
1636 | | - | |
| 1636 | + | |
1637 | 1637 | | |
| 1638 | + | |
| 1639 | + | |
1638 | 1640 | | |
1639 | 1641 | | |
1640 | 1642 | | |
| |||
0 commit comments