UNPKG

@levimc-lse/scaffold

Version:

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

21 lines (20 loc) 791 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ProjectNotBuiltError = void 0; class ProjectNotBuiltError extends Error { constructor() { super(ProjectNotBuiltError.MESSAGE); } getMessage() { return ProjectNotBuiltError.MESSAGE; } getSuggestion() { const suggestion = new Array(); suggestion.push("Try checking if tsconfig.json includes the `include` configuration."); suggestion.push("Try checking if tsconfig.json includes the `outDir` configuration."); suggestion.push("Try `npx tsc` to build the project if it is a TypeScript project."); return suggestion; } } exports.ProjectNotBuiltError = ProjectNotBuiltError; ProjectNotBuiltError.MESSAGE = "Project is not built.";