pub enum AigentError {
Parse {
message: String,
},
Validation {
errors: Vec<Diagnostic>,
},
Io(Error),
Yaml(Error),
Build {
message: String,
},
AlreadyExists {
path: PathBuf,
},
}Expand description
Errors that can occur during skill operations.
Variants§
Parse
SKILL.md parsing failed.
Validation
Skill validation found problems.
Fields
§
errors: Vec<Diagnostic>Structured diagnostics from validation.
Io(Error)
Filesystem I/O error.
Yaml(Error)
YAML deserialization error.
Build
Skill build error.
AlreadyExists
Path already exists (e.g., SKILL.md during init/new).
Trait Implementations§
Source§impl Debug for AigentError
impl Debug for AigentError
Source§impl Display for AigentError
impl Display for AigentError
Source§impl Error for AigentError
impl Error for AigentError
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 AigentError
impl From<Error> for AigentError
Auto Trait Implementations§
impl Freeze for AigentError
impl !RefUnwindSafe for AigentError
impl Send for AigentError
impl Sync for AigentError
impl Unpin for AigentError
impl UnsafeUnpin for AigentError
impl !UnwindSafe for AigentError
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