Skip to main content

Module errors

Module errors 

Source
Expand description

Structured error types for OpenDev.

Provides typed error classes with structured fields for better retry logic, error-specific recovery, and comprehensive provider error classification. Ported from opendev/core/errors.py.

Structs§

StructuredError
Base structured error with metadata.

Enums§

ErrorCategory
High-level error category for classification.
RecoveryStrategy
Strategy for recovering from an error.

Functions§

classify_api_error
Classify an API error into a structured error type.