Class: GlobalConfigParserError

GlobalConfigParserError(error, optionsopt)

This error is typically thrown when a configuration file is invalid or cannot be processed correctly.

Constructor

new GlobalConfigParserError(error, optionsopt)

Parameters:
Name Type Attributes Description
error string | Error

The error message or an instance of an Error.

options Object <optional>

Additional options for the error.

Properties
Name Type Attributes Description
cause Error <optional>

The underlying error that caused this error, if applicable.

Properties
Name Type Attributes Description
errno number <optional>

The error number from the underlying error.

code string <optional>

The error code from the underlying error.

syscall string <optional>

The system call that caused the underlying error.

path string <optional>

The file path involved in the underlying error.

Since:
  • 1.1.0
Source:

Extends

  • Error