pub enum AffectedError {
NotAGitRepo {
path: PathBuf,
},
Git {
message: String,
},
BaseBranchNotFound {
branch: String,
},
WorkspaceNotFound {
path: PathBuf,
reason: String,
},
ConfigError {
path: PathBuf,
reason: String,
},
GraphError {
reason: String,
},
InvalidTarget {
target: String,
reason: String,
},
}Expand description
Errors from detecting affected projects.
Variants§
Trait Implementations§
Source§impl Debug for AffectedError
impl Debug for AffectedError
Source§impl Display for AffectedError
impl Display for AffectedError
Source§impl Error for AffectedError
impl Error for AffectedError
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 AffectedError
impl RefUnwindSafe for AffectedError
impl Send for AffectedError
impl Sync for AffectedError
impl Unpin for AffectedError
impl UnsafeUnpin for AffectedError
impl UnwindSafe for AffectedError
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