事件:'module.import.error'
¥Event: 'module.import.error'
- 
event<Object> 包含以下属性¥
event<Object> containing the following properties- 
id参数传递给import()。模块名称。¥
idArgument passed toimport(). Module name. - 
parentURL尝试导入的模块的 URL 对象 (id)。¥
parentURLURL object of the module that attempted to import(id). 
 - 
 - 
error<Error> 
import() 抛出错误时触发。参见 error 事件。
¥Emitted when a import() throws an error. See error event.