Versions in this module Expand all Collapse all v0 v0.0.1 Jan 1, 2026 Changes in this version + func IsErrorCode(err error, code ErrorCode) bool + type AgentError struct + Code ErrorCode + Err error + Message string + func NewError(code ErrorCode, message string) *AgentError + func WrapError(code ErrorCode, message string, err error) *AgentError + func (e *AgentError) Error() string + func (e *AgentError) Unwrap() error + type ErrorCode string + const ErrCodeConfigInvalid + const ErrCodeConfigNotFound + const ErrCodeHealthCheckFailed + const ErrCodeHealthCheckTimeout + const ErrCodeInternal + const ErrCodeInvalidRequest + const ErrCodeNotFound + const ErrCodeServiceAlreadyRunning + const ErrCodeServiceNotFound + const ErrCodeServiceNotRunning + const ErrCodeServiceStartFailed + const ErrCodeServiceStopFailed + const ErrCodeUnknown