Coverage for src / local_deep_research / exceptions.py: 100%
2 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-14 23:55 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-14 23:55 +0000
1"""Project-wide exception classes."""
4class ResearchTerminatedException(BaseException):
5 """Raised when a user cancels an in-progress research process.
7 Inherits from BaseException (not Exception) so that ``except Exception``
8 blocks throughout the strategy code naturally let it propagate -- the same
9 pattern Python's stdlib uses for asyncio.CancelledError (since 3.9),
10 KeyboardInterrupt, and SystemExit.
11 """
13 pass