eventemitter.addListener()

emitter.addListener(eventName, listener) Alias for emitter.on(eventName, listener).

EventEmitter

Class: EventEmitter The EventEmitter class is defined and exposed by the events module: const EventEmitter = require('events'); All EventEmitters emit the event 'newListener' when new listeners are added and 'removeListener' when a listener is removed.

error.syscall

Applications running in Node.js will generally experience four categories of errors: Standard JavaScript errors such as: EvalError: thrown when a call to eval() fails. SyntaxError: thrown in response to improper JavaScript language syntax. RangeError: thrown when a value is not within an expected range ReferenceError: thrown when using undefined variables TypeError: thrown when passing arguments of the wrong type URIError: thrown when a global URI handling function is misused. System err

error.stack

Applications running in Node.js will generally experience four categories of errors: Standard JavaScript errors such as: EvalError: thrown when a call to eval() fails. SyntaxError: thrown in response to improper JavaScript language syntax. RangeError: thrown when a value is not within an expected range ReferenceError: thrown when using undefined variables TypeError: thrown when passing arguments of the wrong type URIError: thrown when a global URI handling function is misused. System err

error.message

Applications running in Node.js will generally experience four categories of errors: Standard JavaScript errors such as: EvalError: thrown when a call to eval() fails. SyntaxError: thrown in response to improper JavaScript language syntax. RangeError: thrown when a value is not within an expected range ReferenceError: thrown when using undefined variables TypeError: thrown when passing arguments of the wrong type URIError: thrown when a global URI handling function is misused. System err

error.errno

Applications running in Node.js will generally experience four categories of errors: Standard JavaScript errors such as: EvalError: thrown when a call to eval() fails. SyntaxError: thrown in response to improper JavaScript language syntax. RangeError: thrown when a value is not within an expected range ReferenceError: thrown when using undefined variables TypeError: thrown when passing arguments of the wrong type URIError: thrown when a global URI handling function is misused. System err

error.code

Applications running in Node.js will generally experience four categories of errors: Standard JavaScript errors such as: EvalError: thrown when a call to eval() fails. SyntaxError: thrown in response to improper JavaScript language syntax. RangeError: thrown when a value is not within an expected range ReferenceError: thrown when using undefined variables TypeError: thrown when passing arguments of the wrong type URIError: thrown when a global URI handling function is misused. System err

error event (Worker)

Event: 'error' This event is the same as the one provided by child_process.fork(). In a worker you can also use process.on('error').

error event (stream.Writable)

Stability: 2 - Stable A stream is an abstract interface implemented by various objects in Node.js. For example a request to an HTTP server is a stream, as is process.stdout. Streams are readable, writable, or both. All streams are instances of EventEmitter. You can load the Stream base classes by doing require('stream'). There are base classes provided for Readable streams, Writable streams, Duplex streams, and Transform streams. This document is split up into 3 sections: The first section e

error event (stream.Readable)

Stability: 2 - Stable A stream is an abstract interface implemented by various objects in Node.js. For example a request to an HTTP server is a stream, as is process.stdout. Streams are readable, writable, or both. All streams are instances of EventEmitter. You can load the Stream base classes by doing require('stream'). There are base classes provided for Readable streams, Writable streams, Duplex streams, and Transform streams. This document is split up into 3 sections: The first section e