pub enum JavaError {
Show 16 variants
InvalidUtf8Path(PathBuf),
NoJavaHome,
NoMvnClassPath,
InvalidExercise(PathBuf),
JarWrite(PathBuf, Error),
TempDir(Error),
HomeDir,
CacheDir,
Compilation {
stdout: String,
stderr: String,
},
Jvm {
stdout: String,
stderr: String,
},
J4rs {
stdout: Option<String>,
stderr: Option<String>,
source: J4RsError,
},
J4rsPanic(String),
WalkDir(Error),
Json(JsonError),
FileError(FileError),
Tmc(TmcError),
}Variants§
InvalidUtf8Path(PathBuf)
NoJavaHome
NoMvnClassPath
InvalidExercise(PathBuf)
JarWrite(PathBuf, Error)
TempDir(Error)
HomeDir
CacheDir
Compilation
Jvm
J4rs
J4rsPanic(String)
WalkDir(Error)
Json(JsonError)
FileError(FileError)
Tmc(TmcError)
Implementations§
Trait Implementations§
Source§impl Error for JavaError
impl Error for JavaError
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 JavaError
impl !RefUnwindSafe for JavaError
impl Send for JavaError
impl Sync for JavaError
impl Unpin for JavaError
impl !UnwindSafe for JavaError
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