20 lines
312 B
Python
20 lines
312 B
Python
"""LLM-related exceptions."""
|
|
|
|
|
|
class LLMError(Exception):
|
|
"""Base exception for LLM-related errors."""
|
|
|
|
pass
|
|
|
|
|
|
class LLMConfigurationError(LLMError):
|
|
"""Raised when LLM is not properly configured."""
|
|
|
|
pass
|
|
|
|
|
|
class LLMAPIError(LLMError):
|
|
"""Raised when LLM API returns an error."""
|
|
|
|
pass
|