pub enum AnalyzerError {
FileReadError {
path: String,
source: Error,
},
FileWriteError {
path: String,
source: Error,
},
ParseError {
path: String,
source: Error,
},
SerializationError(Error),
InvalidInput(String),
}Expand description
Errors that can occur during analysis
Variants§
FileReadError
Failed to read a file
FileWriteError
Failed to write a file
ParseError
Failed to parse Rust code
SerializationError(Error)
Failed to serialize analysis result
InvalidInput(String)
Invalid input or configuration
Trait Implementations§
Source§impl Debug for AnalyzerError
impl Debug for AnalyzerError
Source§impl Display for AnalyzerError
impl Display for AnalyzerError
Source§impl Error for AnalyzerError
impl Error for AnalyzerError
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 AnalyzerError
impl !RefUnwindSafe for AnalyzerError
impl Send for AnalyzerError
impl Sync for AnalyzerError
impl Unpin for AnalyzerError
impl !UnwindSafe for AnalyzerError
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