Versions in this module Expand all Collapse all v1 v1.0.2 Jan 28, 2026 v1.0.0 Jan 25, 2026 Changes in this version + var ErrAPIError = errors.New("API error") + var ErrAlreadyExists = errors.New("already exists") + var ErrCancelled = errors.New("cancelled") + var ErrConfigError = errors.New("configuration error") + var ErrDatabaseError = errors.New("database error") + var ErrDependencyNotMet = errors.New("dependency not met") + var ErrForbidden = errors.New("forbidden") + var ErrInsufficientCredits = errors.New("insufficient credits") + var ErrInvalidInput = errors.New("invalid input") + var ErrModelNotSupported = errors.New("model not supported") + var ErrNoAgentFound = errors.New("no suitable agent found") + var ErrNotFound = errors.New("not found") + var ErrProviderNotFound = errors.New("provider not found") + var ErrProviderNotInitialized = errors.New("provider not initialized") + var ErrRateLimited = errors.New("rate limited") + var ErrSessionNotFound = errors.New("session not found") + var ErrTaskFailed = errors.New("task failed") + var ErrTimeout = errors.New("timeout") + var ErrUnauthorized = errors.New("unauthorized") + func As(err error, target interface{}) bool + func Is(err, target error) bool + func Wrap(op string, kind error, err error) error + type LumecodeError struct + Context map[string]interface{} + Err error + Kind error + Op string + func AgentError(agent string, taskID string, err error) *LumecodeError + func ConfigError(field string, err error) *LumecodeError + func DatabaseError(op string, err error) *LumecodeError + func New(op string, kind error, err error) *LumecodeError + func ProviderError(provider string, err error) *LumecodeError + func ValidationError(field string, reason string) *LumecodeError + func (e *LumecodeError) Error() string + func (e *LumecodeError) Is(target error) bool + func (e *LumecodeError) Unwrap() error + func (e *LumecodeError) WithContext(key string, value interface{}) *LumecodeError