pub enum AgentInteractionError {
GenerateError(GenerateError),
Cancelled,
State(StateError),
Checkpoint(String),
Compaction(String),
}Variants§
GenerateError(GenerateError)
Cancelled
In-flight turn aborted (e.g. Ctrl-C). History is left well-formed when tools had already started (unacknowledged cancellations record unknown effects).
State(StateError)
Checkpoint(String)
Compaction(String)
Implementations§
Trait Implementations§
Source§impl Debug for AgentInteractionError
impl Debug for AgentInteractionError
Source§impl Display for AgentInteractionError
impl Display for AgentInteractionError
Source§impl Error for AgentInteractionError
impl Error for AgentInteractionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<GenerateError> for AgentInteractionError
impl From<GenerateError> for AgentInteractionError
Source§impl From<StateError> for AgentInteractionError
impl From<StateError> for AgentInteractionError
Source§fn from(error: StateError) -> Self
fn from(error: StateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AgentInteractionError
impl RefUnwindSafe for AgentInteractionError
impl Send for AgentInteractionError
impl Sync for AgentInteractionError
impl Unpin for AgentInteractionError
impl UnsafeUnpin for AgentInteractionError
impl UnwindSafe for AgentInteractionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more