pub enum MicroAgentBuilderError {
SkillNotFound(String),
SkillParsingError(SkillLoadingError),
ProviderNotSupported(String),
ToolAlreadyDefined(String),
StorageLoadError(String),
APIKeyNotFoundError(String),
}Expand description
Errors that can occur while configuring or building a MicroAgent.
Variants§
SkillNotFound(String)
SkillParsingError(SkillLoadingError)
ProviderNotSupported(String)
ToolAlreadyDefined(String)
StorageLoadError(String)
APIKeyNotFoundError(String)
Trait Implementations§
Source§impl Debug for MicroAgentBuilderError
impl Debug for MicroAgentBuilderError
Source§impl Display for MicroAgentBuilderError
impl Display for MicroAgentBuilderError
Source§impl Error for MicroAgentBuilderError
impl Error for MicroAgentBuilderError
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<MicroAgentBuilderError> for AgentError
impl From<MicroAgentBuilderError> for AgentError
Source§fn from(source: MicroAgentBuilderError) -> Self
fn from(source: MicroAgentBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<SkillLoadingError> for MicroAgentBuilderError
impl From<SkillLoadingError> for MicroAgentBuilderError
Source§fn from(source: SkillLoadingError) -> Self
fn from(source: SkillLoadingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for MicroAgentBuilderError
impl !UnwindSafe for MicroAgentBuilderError
impl Freeze for MicroAgentBuilderError
impl Send for MicroAgentBuilderError
impl Sync for MicroAgentBuilderError
impl Unpin for MicroAgentBuilderError
impl UnsafeUnpin for MicroAgentBuilderError
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