pub enum NodeJsErrorCode {
ERR_INVALID_MODULE_SPECIFIER,
ERR_INVALID_PACKAGE_CONFIG,
ERR_INVALID_PACKAGE_TARGET,
ERR_MODULE_NOT_FOUND,
ERR_PACKAGE_IMPORT_NOT_DEFINED,
ERR_PACKAGE_PATH_NOT_EXPORTED,
ERR_UNKNOWN_FILE_EXTENSION,
ERR_UNSUPPORTED_DIR_IMPORT,
ERR_UNSUPPORTED_ESM_URL_SCHEME,
ERR_INVALID_FILE_URL_PATH,
ERR_UNKNOWN_BUILTIN_MODULE,
ERR_TYPES_NOT_FOUND,
}Variants§
ERR_INVALID_MODULE_SPECIFIER
ERR_INVALID_PACKAGE_CONFIG
ERR_INVALID_PACKAGE_TARGET
ERR_MODULE_NOT_FOUND
ERR_PACKAGE_IMPORT_NOT_DEFINED
ERR_PACKAGE_PATH_NOT_EXPORTED
ERR_UNKNOWN_FILE_EXTENSION
ERR_UNSUPPORTED_DIR_IMPORT
ERR_UNSUPPORTED_ESM_URL_SCHEME
ERR_INVALID_FILE_URL_PATH
ERR_UNKNOWN_BUILTIN_MODULE
ERR_TYPES_NOT_FOUND
Deno specific since Node doesn’t support type checking TypeScript.
Implementations§
Trait Implementations§
Source§impl Clone for NodeJsErrorCode
impl Clone for NodeJsErrorCode
Source§fn clone(&self) -> NodeJsErrorCode
fn clone(&self) -> NodeJsErrorCode
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 Debug for NodeJsErrorCode
impl Debug for NodeJsErrorCode
Source§impl Display for NodeJsErrorCode
impl Display for NodeJsErrorCode
Source§impl From<NodeJsErrorCode> for PropertyValue
impl From<NodeJsErrorCode> for PropertyValue
Source§fn from(value: NodeJsErrorCode) -> Self
fn from(value: NodeJsErrorCode) -> Self
Converts to this type from the input type.
Source§impl Hash for NodeJsErrorCode
impl Hash for NodeJsErrorCode
Source§impl PartialEq for NodeJsErrorCode
impl PartialEq for NodeJsErrorCode
impl Copy for NodeJsErrorCode
impl Eq for NodeJsErrorCode
impl StructuralPartialEq for NodeJsErrorCode
Auto Trait Implementations§
impl Freeze for NodeJsErrorCode
impl RefUnwindSafe for NodeJsErrorCode
impl Send for NodeJsErrorCode
impl Sync for NodeJsErrorCode
impl Unpin for NodeJsErrorCode
impl UnwindSafe for NodeJsErrorCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.