View Source SwarmEx.Error.AgentError exception (SwarmEx v0.1.0)

Raised when an agent encounters an error during operation.

This error indicates issues with agent execution, including:

  • Initialization failures
  • Message handling errors
  • State corruption
  • Resource exhaustion

Summary

Types

@type t() :: %SwarmEx.Error.AgentError{
  __exception__: true,
  agent: atom() | pid(),
  context: SwarmEx.Error.error_context(),
  message: String.t(),
  reason: term(),
  severity: SwarmEx.Error.error_severity(),
  type: SwarmEx.Error.error_type()
}