事件:'error'


¥Event: 'error'

此事件与 child_process.fork() 提供的相同。

¥This event is the same as the one provided by child_process.fork().

在工作进程中,也可以使用 process.on('error')

¥Within a worker, process.on('error') may also be used.