Jido.Agent.Directive.Error (Jido v2.0.0-rc.0)
View SourceSignal an error from agent command processing.
This directive carries a Jido.Error.t() for consistent error handling.
The runtime can log, emit, or handle errors based on this directive.
Fields
error- AJido.Error.t()structcontext- Optional atom describing error context (e.g.,:normalize,:instruction)
Summary
Types
Functions
@spec schema() :: Zoi.schema()
Returns the Zoi schema for Error.