Skip to main content

Module error

Module error 

Source
Expand description

Error types for the Tuitbot core library.

Each module has its own error enum to provide clear error boundaries. The library uses thiserror for structured, typed errors.

Enumsยง

ConfigError
Errors related to configuration loading, parsing, and validation.
LlmError
Errors from interacting with LLM providers (OpenAI, Anthropic, Ollama).
ScoringError
Errors from the tweet scoring engine.
StorageError
Errors from SQLite storage operations.
XApiError
Errors from interacting with the X (Twitter) API.