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

Raised when an agent handoff operation fails.

This error indicates a failure in transferring control or state between agents. Common causes include:

  • Network connectivity issues
  • State serialization failures
  • Target agent unavailability

Summary

Types

@type t() :: %SwarmEx.Error.HandoffError{
  __exception__: true,
  context: SwarmEx.Error.error_context(),
  message: String.t(),
  reason: term(),
  source_agent: atom() | pid(),
  target_agent: atom() | pid()
}