pub struct UnknownBuiltInNodeModuleError {
pub module_name: String,
}Fields§
§module_name: StringName of the invalid module.
Trait Implementations§
Source§impl Clone for UnknownBuiltInNodeModuleError
impl Clone for UnknownBuiltInNodeModuleError
Source§fn clone(&self) -> UnknownBuiltInNodeModuleError
fn clone(&self) -> UnknownBuiltInNodeModuleError
Returns a duplicate 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 Error for UnknownBuiltInNodeModuleError
impl Error for UnknownBuiltInNodeModuleError
1.30.0 · 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<UnknownBuiltInNodeModuleError> for NodeResolveErrorKind
impl From<UnknownBuiltInNodeModuleError> for NodeResolveErrorKind
Source§fn from(source: UnknownBuiltInNodeModuleError) -> Self
fn from(source: UnknownBuiltInNodeModuleError) -> Self
Converts to this type from the input type.
Source§impl From<UnknownBuiltInNodeModuleError> for PackageTargetResolveErrorKind
impl From<UnknownBuiltInNodeModuleError> for PackageTargetResolveErrorKind
Source§fn from(source: UnknownBuiltInNodeModuleError) -> Self
fn from(source: UnknownBuiltInNodeModuleError) -> Self
Converts to this type from the input type.
Source§impl JsErrorClass for UnknownBuiltInNodeModuleError
impl JsErrorClass for UnknownBuiltInNodeModuleError
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 as_any(&self) -> &dyn Any
Source§impl NodeJsErrorCoded for UnknownBuiltInNodeModuleError
impl NodeJsErrorCoded for UnknownBuiltInNodeModuleError
fn code(&self) -> NodeJsErrorCode
Auto Trait Implementations§
impl Freeze for UnknownBuiltInNodeModuleError
impl RefUnwindSafe for UnknownBuiltInNodeModuleError
impl Send for UnknownBuiltInNodeModuleError
impl Sync for UnknownBuiltInNodeModuleError
impl Unpin for UnknownBuiltInNodeModuleError
impl UnwindSafe for UnknownBuiltInNodeModuleError
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