| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 09b5396 commit 387b65c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -102,6 +102,17 @@ The listener function is called without passing any arguments. | |||
| 102 | 102 | The `InterfaceConstructor` instance is finished once the `'close'` event is | |
| 103 | 103 | emitted. | |
| 104 | 104 | ||
| 105 | + ### Event: `'error'` | ||
| 106 | + | ||
| 107 | + <!-- YAML | ||
| 108 | + added: v16.0.0 | ||
| 109 | + --> | ||
| 110 | + | ||
| 111 | + The `'error'` event is emitted when an error occurs on the `input` stream | ||
| 112 | + associated with the `node:readline` `Interface`. | ||
| 113 | + | ||
| 114 | + The listener function is called with an `Error` object passed as the single argument. | ||
| 115 | + | ||
| 105 | 116 | ### Event: `'line'` | |
| 106 | 117 | ||
| 107 | 118 | <!-- YAML | |
| Back | FazBrowse Home | New Git URL |
0 commit comments