事件:'错误'
🌐 Event: 'error'
'error' 事件在与 node:readline Interface 关联的 input 流上发生错误时触发。
🌐 The 'error' event is emitted when an error occurs on the input stream
associated with the node:readline Interface.
监听器函数被调用时,会传入一个 Error 对象作为唯一参数。
🌐 The listener function is called with an Error object passed as the single argument.