You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
413 B
Python

"""LLM-specific exception hierarchy."""
from __future__ import annotations
from libs.common.retries import ACEFError
class LLMError(ACEFError):
"""Base error for LLM operations."""
class LLMTimeoutError(LLMError):
"""LLM request timed out."""
class LLMSchemaError(LLMError):
"""LLM response did not match expected schema."""
class LLMCacheError(LLMError):
"""Cache read/write failure."""