pub enum RefactoringError {
Show 16 variants
ConfigError(String),
InvalidConfiguration(String),
StorageError(String),
AnalysisFailed(String),
RefactoringFailed(String),
ImpactAnalysisFailed(String),
ValidationFailed(String),
RollbackFailed(String),
FileError(String),
PatternError(String),
ProviderError(String),
LspError(String),
Other(String),
IoError(Error),
JsonError(Error),
YamlError(Error),
}Expand description
Errors that can occur during refactoring operations
Variants§
ConfigError(String)
Configuration error
InvalidConfiguration(String)
Invalid configuration
StorageError(String)
Storage error
AnalysisFailed(String)
Analysis failed
RefactoringFailed(String)
Refactoring failed
ImpactAnalysisFailed(String)
Impact analysis failed
ValidationFailed(String)
Validation failed
RollbackFailed(String)
Rollback failed
FileError(String)
File operation error
PatternError(String)
Pattern error
ProviderError(String)
Provider error
LspError(String)
LSP error
Other(String)
Other error
IoError(Error)
IO error
JsonError(Error)
JSON error
YamlError(Error)
YAML error
Trait Implementations§
Source§impl Debug for RefactoringError
impl Debug for RefactoringError
Source§impl Display for RefactoringError
impl Display for RefactoringError
Source§impl Error for RefactoringError
impl Error for RefactoringError
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()
Source§impl From<Error> for RefactoringError
impl From<Error> for RefactoringError
Source§impl From<Error> for RefactoringError
impl From<Error> for RefactoringError
Auto Trait Implementations§
impl Freeze for RefactoringError
impl !RefUnwindSafe for RefactoringError
impl Send for RefactoringError
impl Sync for RefactoringError
impl Unpin for RefactoringError
impl !UnwindSafe for RefactoringError
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