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