Skip to main content

DefinitionFileError

Thrown when a definition file, or the rules file beside it, is missing or is not YAML.

@group

Errors/Definition

@throws

When the definition file or a required rules file does not exist.

@throws

When the definition file or the rules file cannot be parsed as YAML.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    • message: string

      The error message.

    • filePath: string

      The file that could not be read.

    Returns DefinitionFileError

Properties

readonlyfilePath

filePath: string

The absolute path of the file.

Page Options