pub enum SubagentParseError {
MissingFrontmatter,
YamlError(Error),
MissingField(String),
IoError(Error),
}Expand description
Errors that can occur when parsing subagent configurations
Variants§
MissingFrontmatter
Missing YAML frontmatter
YamlError(Error)
YAML parsing error
MissingField(String)
Missing required field
IoError(Error)
IO error when reading file
Trait Implementations§
Source§impl Debug for SubagentParseError
impl Debug for SubagentParseError
Source§impl Display for SubagentParseError
impl Display for SubagentParseError
Source§impl Error for SubagentParseError
impl Error for SubagentParseError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for SubagentParseError
impl !RefUnwindSafe for SubagentParseError
impl Send for SubagentParseError
impl Sync for SubagentParseError
impl Unpin for SubagentParseError
impl !UnwindSafe for SubagentParseError
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