pub enum SiError {
Config(String),
Git(String),
Api {
provider: String,
message: String,
},
NoStagedChanges,
NoChanges,
NotARepo,
Io(Error),
TomlParse(Error),
TomlSerialize(Error),
Http(Error),
Other(String),
}Variants§
Config(String)
Git(String)
Api
NoStagedChanges
NoChanges
NotARepo
Io(Error)
TomlParse(Error)
TomlSerialize(Error)
Http(Error)
Other(String)
Trait Implementations§
Source§impl Error for SiError
impl Error for SiError
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 !RefUnwindSafe for SiError
impl !UnwindSafe for SiError
impl Freeze for SiError
impl Send for SiError
impl Sync for SiError
impl Unpin for SiError
impl UnsafeUnpin for SiError
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