pub enum CodeGraphError {
Parse {
file: PathBuf,
message: String,
},
Resolution(String),
Storage(String),
Git(String),
FileSystem {
path: PathBuf,
source: Error,
},
NoProject,
BlocklistedRoot(PathBuf),
IndexNotBuilt,
Other(String),
}Variants§
Parse
Resolution(String)
Storage(String)
Git(String)
FileSystem
NoProject
BlocklistedRoot(PathBuf)
IndexNotBuilt
Other(String)
Trait Implementations§
Source§impl Debug for CodeGraphError
impl Debug for CodeGraphError
Source§impl Display for CodeGraphError
impl Display for CodeGraphError
Source§impl Error for CodeGraphError
impl Error for CodeGraphError
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 CodeGraphError
impl !RefUnwindSafe for CodeGraphError
impl Send for CodeGraphError
impl Sync for CodeGraphError
impl Unpin for CodeGraphError
impl UnsafeUnpin for CodeGraphError
impl !UnwindSafe for CodeGraphError
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