pub enum SkillLoadingError {
SkillReadError(Error),
SkillFrontMatterError(Error),
}Expand description
Errors that can occur while loading a skill from disk.
Variants§
SkillReadError(Error)
The skill file could not be read.
SkillFrontMatterError(Error)
The YAML/TOML frontmatter in the skill file is invalid.
Trait Implementations§
Source§impl Debug for SkillLoadingError
impl Debug for SkillLoadingError
Source§impl Display for SkillLoadingError
impl Display for SkillLoadingError
Source§impl Error for SkillLoadingError
impl Error for SkillLoadingError
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<Error> for SkillLoadingError
impl From<Error> for SkillLoadingError
Source§impl From<Error> for SkillLoadingError
impl From<Error> for SkillLoadingError
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 SkillLoadingError
impl !UnwindSafe for SkillLoadingError
impl Freeze for SkillLoadingError
impl Send for SkillLoadingError
impl Sync for SkillLoadingError
impl Unpin for SkillLoadingError
impl UnsafeUnpin for SkillLoadingError
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