Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 330x 330x 330x 330x 330x 330x 330x 330x 330x 330x 330x 330x 330x 109x 109x 109x 109x 109x 109x 109x 330x | import { CompilerError } from './CompilerError.js';
/**
* Specialized error class for template syntax, parsing, and static validation warnings or errors.
* @augments CompilerError
*/
export class TemplateValidationError extends CompilerError {
/**
* Creates an instance of TemplateValidationError.
* @param {string} code - The template error or warning code.
* @param {...any} args - Arguments to format within the template message.
*/
constructor(code, ...args) {
super(code, ...args);
/**
* Custom name identifier for template validation errors.
* @type {string}
*/
this.name = 'TemplateValidationError';
}
}
|