pub enum FinalizeResolutionErrorKind {
InvalidModuleSpecifierError(InvalidModuleSpecifierError),
ModuleNotFound(ModuleNotFoundError),
TypesNotFound(TypesNotFoundError),
PackageSubpathResolve(PackageSubpathResolveError),
UnsupportedDirImport(UnsupportedDirImportError),
UrlToFilePath(UrlToFilePathError),
}Variants§
InvalidModuleSpecifierError(InvalidModuleSpecifierError)
ModuleNotFound(ModuleNotFoundError)
TypesNotFound(TypesNotFoundError)
PackageSubpathResolve(PackageSubpathResolveError)
UnsupportedDirImport(UnsupportedDirImportError)
UrlToFilePath(UrlToFilePathError)
Implementations§
Source§impl FinalizeResolutionErrorKind
impl FinalizeResolutionErrorKind
pub fn into_box(self) -> FinalizeResolutionError
Trait Implementations§
Source§impl Debug for FinalizeResolutionErrorKind
impl Debug for FinalizeResolutionErrorKind
Source§impl Error for FinalizeResolutionErrorKind
impl Error for FinalizeResolutionErrorKind
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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<InvalidModuleSpecifierError> for FinalizeResolutionErrorKind
impl From<InvalidModuleSpecifierError> for FinalizeResolutionErrorKind
Source§fn from(source: InvalidModuleSpecifierError) -> Self
fn from(source: InvalidModuleSpecifierError) -> Self
Converts to this type from the input type.
Source§impl From<ModuleNotFoundError> for FinalizeResolutionErrorKind
impl From<ModuleNotFoundError> for FinalizeResolutionErrorKind
Source§fn from(source: ModuleNotFoundError) -> Self
fn from(source: ModuleNotFoundError) -> Self
Converts to this type from the input type.
Source§impl From<PackageSubpathResolveError> for FinalizeResolutionErrorKind
impl From<PackageSubpathResolveError> for FinalizeResolutionErrorKind
Source§fn from(source: PackageSubpathResolveError) -> Self
fn from(source: PackageSubpathResolveError) -> Self
Converts to this type from the input type.
Source§impl From<TypesNotFoundError> for FinalizeResolutionErrorKind
impl From<TypesNotFoundError> for FinalizeResolutionErrorKind
Source§fn from(source: TypesNotFoundError) -> Self
fn from(source: TypesNotFoundError) -> Self
Converts to this type from the input type.
Source§impl From<UnsupportedDirImportError> for FinalizeResolutionErrorKind
impl From<UnsupportedDirImportError> for FinalizeResolutionErrorKind
Source§fn from(source: UnsupportedDirImportError) -> Self
fn from(source: UnsupportedDirImportError) -> Self
Converts to this type from the input type.
Source§impl From<UrlToFilePathError> for FinalizeResolutionErrorKind
impl From<UrlToFilePathError> for FinalizeResolutionErrorKind
Source§fn from(source: UrlToFilePathError) -> Self
fn from(source: UrlToFilePathError) -> Self
Converts to this type from the input type.
Source§impl JsErrorClass for FinalizeResolutionErrorKind
impl JsErrorClass for FinalizeResolutionErrorKind
Source§fn get_message(&self) -> Cow<'static, str>
fn get_message(&self) -> Cow<'static, str>
Represents the error message used in JavaScript side.
Source§fn get_additional_properties(&self) -> AdditionalProperties
fn get_additional_properties(&self) -> AdditionalProperties
Additional properties that should be defined on the error in JavaScript side.
fn get_ref(&self) -> &(dyn Error + Send + Sync + 'static)
Source§impl NodeJsErrorCoded for FinalizeResolutionErrorKind
impl NodeJsErrorCoded for FinalizeResolutionErrorKind
fn code(&self) -> NodeJsErrorCode
Auto Trait Implementations§
impl Freeze for FinalizeResolutionErrorKind
impl !RefUnwindSafe for FinalizeResolutionErrorKind
impl Send for FinalizeResolutionErrorKind
impl Sync for FinalizeResolutionErrorKind
impl Unpin for FinalizeResolutionErrorKind
impl !UnwindSafe for FinalizeResolutionErrorKind
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more