Enum deno_graph::ResolutionError
source · pub enum ResolutionError {
InvalidDowngrade {
specifier: ModuleSpecifier,
range: Range,
},
InvalidLocalImport {
specifier: ModuleSpecifier,
range: Range,
},
InvalidSpecifier {
error: SpecifierError,
range: Range,
},
ResolverError {
error: Arc<ResolveError>,
specifier: String,
range: Range,
},
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ResolutionError
impl Clone for ResolutionError
source§fn clone(&self) -> ResolutionError
fn clone(&self) -> ResolutionError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ResolutionError
impl Debug for ResolutionError
source§impl Display for ResolutionError
impl Display for ResolutionError
source§impl Error for ResolutionError
impl Error for ResolutionError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq for ResolutionError
impl PartialEq for ResolutionError
impl Eq for ResolutionError
Auto Trait Implementations§
impl RefUnwindSafe for ResolutionError
impl Send for ResolutionError
impl Sync for ResolutionError
impl Unpin for ResolutionError
impl UnwindSafe for ResolutionError
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.