Enum rant::ModuleLoadError
source · [−]pub enum ModuleLoadError {
InvalidPath(String),
RuntimeError(Rc<RuntimeError>),
ResolveError(ModuleResolveError),
}
Expand description
Represents error states that occur when loading a module.
Variants
InvalidPath(String)
The specified path was invalid; see attached reason.
RuntimeError(Rc<RuntimeError>)
The module failed to load because it encountered a runtime error during initialization.
ResolveError(ModuleResolveError)
The module failed to load because it couldn’t be resolved.