pub enum JjHooksError {
JjFailed {
status: i32,
stderr: String,
},
SetupFailed {
name: String,
status: i32,
},
Parse(String),
RunnerNotFound {
bin: String,
},
Io(Error),
}Variants§
JjFailed
SetupFailed
Parse(String)
RunnerNotFound
The configured runner binary couldn’t be found through any of the
resolution layers. Includes the binary name and a hint mentioning
the most common causes (Python venv that wasn’t activated, runner
not installed globally, no jj-hooks.runner-bin.<runner> override).
Io(Error)
Trait Implementations§
Source§impl Debug for JjHooksError
impl Debug for JjHooksError
Source§impl Display for JjHooksError
impl Display for JjHooksError
Source§impl Error for JjHooksError
impl Error for JjHooksError
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 JjHooksError
impl !RefUnwindSafe for JjHooksError
impl Send for JjHooksError
impl Sync for JjHooksError
impl Unpin for JjHooksError
impl UnsafeUnpin for JjHooksError
impl !UnwindSafe for JjHooksError
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