Template-Engine/src/errors/template_syntax_error.mjs

8 lines
169 B
JavaScript
Raw Normal View History

2022-09-02 23:31:55 -07:00
export class TemplateSyntaxError extends Error {
constructor(cs, message) {
super(
`${cs.fileName}:${cs.line + 1}:${cs.column + 1}: ${message}`
);
}
}