pub enum AgentError {
Persona(PersonaError),
NotFound(String),
Source(String),
Setup(String),
Checkpoint(String),
Store(CoreError),
}Expand description
Why loading a persona, building a run or resuming one failed.
Run failures during a step are not errors: they end the run in its
Failed state instead.
Variants§
Persona(PersonaError)
NotFound(String)
Source(String)
Setup(String)
Checkpoint(String)
Store(CoreError)
Trait Implementations§
Source§impl Clone for AgentError
impl Clone for AgentError
Source§impl Debug for AgentError
impl Debug for AgentError
Source§impl Display for AgentError
impl Display for AgentError
Source§impl Error for AgentError
impl Error for AgentError
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<CoreError> for AgentError
impl From<CoreError> for AgentError
Source§impl From<PersonaError> for AgentError
impl From<PersonaError> for AgentError
Source§fn from(source: PersonaError) -> Self
fn from(source: PersonaError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AgentError
impl PartialEq for AgentError
impl StructuralPartialEq for AgentError
Auto Trait Implementations§
impl Forget for AgentError
impl Freeze for AgentError
impl Move for AgentError
impl RefUnwindSafe for AgentError
impl Send for AgentErrorwhere
RawVecInner: Send,
impl Sync for AgentErrorwhere
RawVecInner: Sync,
impl Unpin for AgentError
impl UnsafeUnpin for AgentError
impl UnwindSafe for AgentErrorwhere
RawVecInner: UnwindSafe,
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