pub enum CrewError {
TaskNotFound(String),
CircularDependency,
NoAgentAvailable(String),
TaskExecutionFailed(String),
ExecutionFailed(String),
InvalidConfiguration(String),
AgentError(AgentError),
}Expand description
Crew/orchestration errors
Variants§
TaskNotFound(String)
CircularDependency
NoAgentAvailable(String)
TaskExecutionFailed(String)
ExecutionFailed(String)
InvalidConfiguration(String)
AgentError(AgentError)
Trait Implementations§
Source§impl Error for CrewError
impl Error for CrewError
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<AgentError> for CrewError
impl From<AgentError> for CrewError
Source§fn from(source: AgentError) -> Self
fn from(source: AgentError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CrewError
impl RefUnwindSafe for CrewError
impl Send for CrewError
impl Sync for CrewError
impl Unpin for CrewError
impl UnsafeUnpin for CrewError
impl UnwindSafe for CrewError
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