pub enum SpecKitError {
CliNotFound,
PythonVersionTooOld,
CommandFailed {
command: String,
stderr: String,
exit_code: i32,
},
ParseError(String),
Timeout,
InvalidPath(String),
FileError(String),
IoError(Error),
}Expand description
Errors that can occur when interacting with spec-kit CLI
Variants§
CliNotFound
PythonVersionTooOld
CommandFailed
ParseError(String)
Timeout
InvalidPath(String)
FileError(String)
IoError(Error)
Implementations§
Source§impl SpecKitError
impl SpecKitError
Trait Implementations§
Source§impl Debug for SpecKitError
impl Debug for SpecKitError
Source§impl Display for SpecKitError
impl Display for SpecKitError
Source§impl Error for SpecKitError
impl Error for SpecKitError
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 SpecKitError
impl !RefUnwindSafe for SpecKitError
impl Send for SpecKitError
impl Sync for SpecKitError
impl Unpin for SpecKitError
impl !UnwindSafe for SpecKitError
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