mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-17 05:10:40 -07:00
tag:include
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
function TokenizationError(message, input, line, stack) {
|
||||
this.name = "TokenizationError";
|
||||
this.message = (message || "");
|
||||
this.input = input;
|
||||
this.line = line;
|
||||
if(stack) this.stack = stack;
|
||||
}
|
||||
TokenizationError.prototype = Error.prototype;
|
||||
|
||||
function ParseError(message, input, line, stack) {
|
||||
this.name = "ParseError";
|
||||
this.message = (message || "");
|
||||
this.input = input;
|
||||
this.line = line;
|
||||
if(stack) this.stack = stack;
|
||||
}
|
||||
ParseError.prototype = Error.prototype;
|
||||
|
||||
module.exports = {
|
||||
TokenizationError, ParseError
|
||||
};
|
||||
Reference in New Issue
Block a user