When present (e.g.
When present (e.g. in net or dgram), the error.address property is a string describing the address to which the connection failed.
The error.code property is a string representing the error code, which is always E followed by a sequence of capital letters.
The error.errno property is a number or a string.
The error.errno property is a number or a string. The number is a negative value which corresponds to the error code defined in libuv Error handling. See uv-errno.h header file (deps/uv/include/uv-errno.h in the Node.js source tree) for details. In case of a string, it is the same as error.code.
The error.message property is the string description of the error as set by calling new Error(message).
The error.message property is the string description of the error as set by calling new Error(message). The message passed to the constructor will also appear in the first line of the stack trace of the Error, however changing this property after the Error object is created may not change the first line of the stack trace (for example, when error.stack is read before this property is changed).
When present (e.g.
When present (e.g. in fs or child_process), the error.path property is a string containing a relevant invalid pathname.
When present (e.g.
When present (e.g. in net or dgram), the error.port property is a number representing the connection's port that is not available.
The error.stack property is a string describing the point in the code at which the Error was instantiated.
The error.stack property is a string describing the point in the code at which the Error was instantiated.
The error.syscall property is a string describing the syscall that failed.
System Error