Skip to main content

Module error

Module error 

Source
Expand description

Structured error handling for VT Code.

Provides a VT Code-specific error envelope with machine-readable codes and contextual information while reusing the shared vtcode_commons classification system.

Structs§

ConfigGuidance
Actionable guidance for fixing a misconfiguration.
VtCodeError
Core error type for VT Code operations.

Enums§

BackoffStrategy
Backoff strategy for retryable errors.
ErrorCategory
Canonical error category used throughout VT Code for consistent retry decisions, user-facing messages, and error handling strategies.
ErrorCode
Machine-readable error codes for precise error identification.
MisconfigurationKind
Kind of user misconfiguration detected.
Retryability
Describes whether and how an error can be retried.

Functions§

detect_misconfiguration
Return guidance when message indicates user misconfiguration.
is_misconfiguration
Convenience predicate for fail-fast checks.

Type Aliases§

Result
Result type alias for VT Code operations.