Repository navigation
Commit 04bb1fa
committed
docs: note orRedirect catch-type change in UPGRADING, add exception rule of thumb
orRedirect() is the only throw whose catch type changed in 3.0.0
(RuntimeException to CallerException), so UPGRADING's silent-changes list
gets one bullet with the working catches. ai-reference now states the
exception model in one line: RuntimeException from orThrow() is the only
type to catch in normal operation, everything else means code to fix.1 parent 83488f4 commit 04bb1fa
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
80 | 85 | | |
81 | 86 | | |
82 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
296 | 299 | | |
297 | 300 | | |
298 | 301 | | |
| |||
0 commit comments