Commit 679f2c9
committed
Drop unused throw() helper from TemplateParseError
`TemplateParseError` exposed a `throw(): never` method that was never
called anywhere in the codebase, and the sibling base class
`TemplateExpansionError` did not expose the same helper. The
asymmetry is dead surface area — `throw error` is idiomatic — so
remove the helper rather than mirror it onto the expansion side.
Reported by CodeRabbit in
#758 (2026-05-11).
Assisted-by: Claude Opus 4.7 (1M context)1 parent cc67dd8 commit 679f2c9
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 58 | | |
62 | 59 | | |
63 | 60 | | |
| |||
0 commit comments