Error types¶
Custom errors.
File: utils_pkg/klea_utils/errors.py
Copyright 2026 Ankur Sinha Author: Ankur Sinha <sanjay DOT ankur AT gmail DOT com>
- class klea_utils.errors.LLMInvocationErrorCategory(*values)[source]¶
-
Classification of LLM invocation failures.
Providers report errors inconsistently, so the classification is a best-effort heuristic driven by tolerant regex matching (see
klea_utils.llm.classify_llm_invocation_error). The category drives retry behaviour in the LLM nodes: some categories are retried with adjusted parameters, others surface immediately.