Skip to content

Exceptions

llm_annotator.clients.exceptions

Project-specific exceptions.

LLMClientError

Bases: Exception

Base exception raised by Client modules.

ConfigurationError

Bases: LLMClientError

Raised when runtime configuration is invalid.

ProviderError

Bases: LLMClientError

Raised when a provider call fails.

ParsingError

Bases: LLMClientError

Raised when model output cannot be parsed.