8 lines
169 B
JavaScript
8 lines
169 B
JavaScript
|
export class TemplateSyntaxError extends Error {
|
||
|
constructor(cs, message) {
|
||
|
super(
|
||
|
`${cs.fileName}:${cs.line + 1}:${cs.column + 1}: ${message}`
|
||
|
);
|
||
|
}
|
||
|
}
|