pub enum RomError {
Io(Error),
Json(Error),
BuildFailed,
Process(String),
Config(String),
Parse(String),
Terminal(String),
Other(String),
}Expand description
Main error type for ROM
Variants§
Io(Error)
IO error
Json(Error)
JSON parsing error
BuildFailed
Build failed
Process(String)
Process execution error
Config(String)
Configuration error
Parse(String)
Parse error
Terminal(String)
Terminal error
Other(String)
Other error
Implementations§
Trait Implementations§
Source§impl Error for RomError
impl Error for RomError
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 RomError
impl !RefUnwindSafe for RomError
impl Send for RomError
impl Sync for RomError
impl Unpin for RomError
impl UnsafeUnpin for RomError
impl !UnwindSafe for RomError
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