Skip to main content

Class: Error

Error type. It mostly encapsulates the libuv errors.

Constructors

Constructor

new Error(errno): Error

Parameters

errno

number

Returns

Error

Properties

code

code: string

The system error code as a string. For example EPERM.


message

message: string

The error string representation in the form code: description.