Commit 934da02
Replace overly-wide exception catches with specific exception types
Based on 517a97a (latest development commit). Each broad | _ -> catch in
the display/typing pipeline is replaced with an enumeration of only the
specific compilation-error exception types that the try block legitimately
expects to raise. Any exception not in the list naturally bubbles up.
Co-authored-by: Simn <634365+Simn@users.noreply.github.com>1 parent f218148 commit 934da02
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
| 396 | + | |
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
| 413 | + | |
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
| |||
0 commit comments