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

12 lines (10 loc) • 204 B
export class DotError extends Error { public name = 'DotError'; constructor( public fileName: string, public path: string, errorMessage: string, ) { super(`${errorMessage} ( ${path} )`); } }