Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentError ¶
AgentError represents an error that occurred during agent operations
func NewAgentError ¶
func NewAgentError(agentName, operation string, err error) *AgentError
NewAgentError creates a new AgentError
func (*AgentError) Error ¶
func (e *AgentError) Error() string
func (*AgentError) Unwrap ¶
func (e *AgentError) Unwrap() error
type CommunicationError ¶
type CommunicationError struct {
AgentName string
Type string // "timeout", "network", "protocol", etc.
Message string
Err error
}
CommunicationError represents an error during agent communication
func NewCommunicationError ¶
func NewCommunicationError(agentName, errorType, message string, err error) *CommunicationError
NewCommunicationError creates a new CommunicationError
func (*CommunicationError) Error ¶
func (e *CommunicationError) Error() string
func (*CommunicationError) Unwrap ¶
func (e *CommunicationError) Unwrap() error
type ConfigError ¶
ConfigError represents a configuration-related error
func NewConfigError ¶
func NewConfigError(field string, value interface{}, message string) *ConfigError
NewConfigError creates a new ConfigError
func NewConfigErrorWithCause ¶
func NewConfigErrorWithCause(field string, value interface{}, message string, err error) *ConfigError
NewConfigErrorWithCause creates a new ConfigError with an underlying cause
func (*ConfigError) Error ¶
func (e *ConfigError) Error() string
func (*ConfigError) Unwrap ¶
func (e *ConfigError) Unwrap() error
type InitializationError ¶
InitializationError represents an error during agent or system initialization
func NewInitializationError ¶
func NewInitializationError(component, reason string, err error) *InitializationError
NewInitializationError creates a new InitializationError
func (*InitializationError) Error ¶
func (e *InitializationError) Error() string
func (*InitializationError) Unwrap ¶
func (e *InitializationError) Unwrap() error
type OrchestratorError ¶
OrchestratorError represents an error in the orchestrator
func NewOrchestratorError ¶
func NewOrchestratorError(mode string, turn int, message string, err error) *OrchestratorError
NewOrchestratorError creates a new OrchestratorError
func (*OrchestratorError) Error ¶
func (e *OrchestratorError) Error() string
func (*OrchestratorError) Unwrap ¶
func (e *OrchestratorError) Unwrap() error
type ValidationError ¶
ValidationError represents a validation error
func NewValidationError ¶
func NewValidationError(field string, value interface{}, message string) *ValidationError
NewValidationError creates a new ValidationError
func (*ValidationError) Error ¶
func (e *ValidationError) Error() string