Enum deno_graph::ModuleGraphError [−][src]
pub enum ModuleGraphError {
InvalidSource(ModuleSpecifier, Option<String>),
LoadingErr(ModuleSpecifier, Arc<Error>),
Missing(ModuleSpecifier),
ParseErr(ModuleSpecifier, Diagnostic),
ResolutionError(ResolutionError),
UnsupportedMediaType(ModuleSpecifier, MediaType),
}
Variants
InvalidSource(ModuleSpecifier, Option<String>)
Tuple Fields of InvalidSource
0: ModuleSpecifier
1: Option<String>
LoadingErr(ModuleSpecifier, Arc<Error>)
Tuple Fields of LoadingErr
0: ModuleSpecifier
1: Arc<Error>
Missing(ModuleSpecifier)
Tuple Fields of Missing
ParseErr(ModuleSpecifier, Diagnostic)
Tuple Fields of ParseErr
ResolutionError(ResolutionError)
Tuple Fields of ResolutionError
UnsupportedMediaType(ModuleSpecifier, MediaType)
Tuple Fields of UnsupportedMediaType
0: ModuleSpecifier
1: 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