Commit 40d3190
docs(story-1.8): RecordedTransport docstring notes BaseException rationale
Final review concern: the docstring named the route/default type
(`Response | BaseException`) without explaining why BaseException
(not Exception) is the chosen union. Adds a one-paragraph note: the
choice lets test code express `asyncio.CancelledError`, `SystemExit`,
etc.; surfaces that these bypass `except Exception:`.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 40781d8 commit 40d3190
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
0 commit comments