Files
odysseus/src/exceptions.py

23 lines
747 B
Python
Raw Normal View History

2026-05-31 23:58:26 +09:00
# src/exceptions.py
"""Backward-compatible shim — the single source of truth is core/exceptions.py.
2026-05-31 23:58:26 +09:00
Historically this module was a byte-for-byte duplicate of core/exceptions.py,
which is the canonical definition (imported by app.py, core/__init__.py, and
routes/chat_routes.py). To kill the drift, this now simply re-exports the
exception classes from core.exceptions so there is exactly one place that
defines them. Existing `from src.exceptions import ...` callers keep working.
"""
from core.exceptions import ( # noqa: F401
SessionNotFoundError,
InvalidFileUploadError,
LLMServiceError,
WebSearchError,
)
2026-05-31 23:58:26 +09:00
__all__ = [
"SessionNotFoundError",
"InvalidFileUploadError",
"LLMServiceError",
"WebSearchError",
]