UNPKG

@levimc-lse/scaffold

Version:

A utility for assisting in the development of Legacy Script Engine plugins.

20 lines (19 loc) 631 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ManifestFileNotFoundError = void 0; class ManifestFileNotFoundError extends Error { constructor(fileDirectory) { const message = `Could not find manifest.json in ${fileDirectory}.`; super(message); this.msg = message; } getMessage() { return this.msg; } getSuggestion() { const suggestion = new Array(); suggestion.push("Try `npx lses manifest` to manifest the project before."); return suggestion; } } exports.ManifestFileNotFoundError = ManifestFileNotFoundError;