Enum deno_graph::ModuleGraphError [−][src]
pub enum ModuleGraphError {
InvalidSource(ModuleSpecifier, Option<String>),
InvalidTypeAssertion {
specifier: ModuleSpecifier,
actual_media_type: MediaType,
expected_media_type: MediaType,
},
LoadingErr(ModuleSpecifier, Arc<Error>),
Missing(ModuleSpecifier),
ParseErr(ModuleSpecifier, Diagnostic),
ResolutionError(ResolutionError),
UnsupportedImportAssertionType(ModuleSpecifier, String),
UnsupportedMediaType(ModuleSpecifier, MediaType),
}Variants
InvalidSource(ModuleSpecifier, Option<String>)
InvalidTypeAssertion
LoadingErr(ModuleSpecifier, Arc<Error>)
Missing(ModuleSpecifier)
Tuple Fields
ParseErr(ModuleSpecifier, Diagnostic)
ResolutionError(ResolutionError)
Tuple Fields
UnsupportedImportAssertionType(ModuleSpecifier, String)
UnsupportedMediaType(ModuleSpecifier, MediaType)
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ModuleGraphError
impl Send for ModuleGraphError
impl Sync for ModuleGraphError
impl Unpin for ModuleGraphError
impl !UnwindSafe for ModuleGraphError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
