Writing your lesson…
Lesson 901 of 3,159·13. Core Library Reference: Events, Scheduling, and StreamsFree lesson
Node API: InterfaceConstructor event error
The 'error' event is emitted when an error occurs on the input stream associated with the node:readline Interface .