errs

package
v0.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package errs provides application-level error sentinels for ainovel-cli. Callers wrap errors with fmt.Errorf("...: %w", errs.ErrXxx) and use errors.Is to detect categories.

Provider runtime errors (rate_limit / timeout / stream_idle / network / auth / context_overflow) live in agentcore — use agentcore.ClassifyProvider, agentcore.IsFailoverEligible, agentcore.FailoverReason, and agentcore.IsStreamIdleMessage directly.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrConfig           = errors.New("config error")
	ErrProvider         = errors.New("provider error") // provider initialization / wiring
	ErrStoreRead        = errors.New("store read error")
	ErrStoreWrite       = errors.New("store write error")
	ErrToolArgs         = errors.New("tool args invalid")
	ErrToolPrecondition = errors.New("tool precondition failed")
	ErrToolConflict     = errors.New("tool conflict")
	ErrPhaseTransition  = errors.New("invalid phase transition")
	ErrFlowTransition   = errors.New("invalid flow transition")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL