(msg string, cause error)
| 56 | func (e *AgentError) Unwrap() error { return e.Cause } |
| 57 | |
| 58 | func NewAgentError(msg string, cause error) *AgentError { |
| 59 | return &AgentError{Msg: msg, Cause: cause} |
| 60 | } |
| 61 | |
| 62 | var _ ToolboxError = &AgentError{} |
| 63 |
no outgoing calls
no test coverage detected