10 lines
218 B
JavaScript
10 lines
218 B
JavaScript
|
var utils = require("./utils");
|
||
|
|
||
|
/* Thrown when the grammar contains an error. */
|
||
|
module.exports = function(message) {
|
||
|
this.name = "GrammarError";
|
||
|
this.message = message;
|
||
|
};
|
||
|
|
||
|
utils.subclass(module.exports, Error);
|