pub enum ResolveError {
Io(Error),
Git(GitError),
Lisp(LispError),
Manifesto(LeituraError),
MissingPin {
nome: String,
},
MissingPath {
nome: String,
path: PathBuf,
},
Cycle(String),
}Variants§
Io(Error)
Git(GitError)
Lisp(LispError)
Manifesto(LeituraError)
A resolved dep’s caixa.lisp did not read as a package manifest.
Distinct from Self::Lisp because the interesting case is
LeituraError::DialetoEstrangeiro: a dep whose manifest is a
repo-surface declaration rather than a package manifest is not a
syntax error in that dep, it is the wrong KIND of file, and a resolver
that flattened both into “lisp: …” would send the author hunting for a
typo that is not there.
MissingPin
MissingPath
Cycle(String)
Trait Implementations§
Source§impl Debug for ResolveError
impl Debug for ResolveError
Source§impl Display for ResolveError
impl Display for ResolveError
Source§impl Error for ResolveError
impl Error for ResolveError
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 ResolveError
impl From<Error> for ResolveError
Source§impl From<GitError> for ResolveError
impl From<GitError> for ResolveError
Source§impl From<LeituraError> for ResolveError
impl From<LeituraError> for ResolveError
Source§fn from(source: LeituraError) -> Self
fn from(source: LeituraError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ResolveError
impl !UnwindSafe for ResolveError
impl Freeze for ResolveError
impl Send for ResolveError
impl Sync for ResolveError
impl Unpin for ResolveError
impl UnsafeUnpin for ResolveError
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