Class: WatcherError

watcher/WatcherError~WatcherError(message, code, directoryPath)

WatcherError

Constructor

new WatcherError(message, code, directoryPath)

Defines an error occurring while watching for directory changes.

Parameters:
Name Type Description
message String

The error message

code String

The error code

directoryPath String

The absolute path of the directory in error

Source:

Extends

  • Error

Members

(readonly) code :String

The fs.FSWatcher's error code.

Type:
  • String
Source:

(readonly) directoryPath :String

The absolute path of the watched directory the error belongs to.

Type:
  • String
Source:

message :String

Error message.

Type:
  • String
Source:

name :String

Error name.

Type:
  • String
Source: