Coverage for src / lilbee / runtime / cancellation.py: 100%
2 statements
« prev ^ index » next coverage.py v7.13.4, created at 2026-05-15 20:55 +0000
« prev ^ index » next coverage.py v7.13.4, created at 2026-05-15 20:55 +0000
1"""Task cancellation sentinel shared between core library and TUI.
3Raised by progress callbacks when the UI signals a long-running
4background task should abort. Lives in a neutral module so that
5``lilbee.catalog`` (core) can let it propagate without importing TUI code.
6"""
8from __future__ import annotations
11class TaskCancelledError(Exception):
12 """Raised inside a progress callback to abort a long-running task."""