UNPKG

templates-mo

Version:

Templates is a scaffolding framework that makes code generation simple, dynamic, and reusable. Generate files, parts of your app, or whole project structures—without the repetitive copy-pasting

13 lines (12 loc) • 358 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DotError = void 0; class DotError extends Error { constructor(fileName, path, errorMessage) { super(`${errorMessage} ( ${path} )`); this.fileName = fileName; this.path = path; this.name = 'DotError'; } } exports.DotError = DotError;