发生错误时触发。 'close' 事件将在此事件之后直接调用。
'close'
Emitted when an error occurs. The 'close' event will be called directly following this event.