UNPKG

@gerhobbelt/mathjax-third-party-extensions

Version:

A list of MathJax extensions provided by third-party contributors

19 lines (13 loc) 417 B
"use strict"; var classes = require("./utils/classes"); /* Thrown when the grammar contains an error. */ function GrammarError(message, location) { this.name = "GrammarError"; this.message = message; this.location = location; if (typeof Error.captureStackTrace === "function") { Error.captureStackTrace(this, GrammarError); } } classes.subclass(GrammarError, Error); module.exports = GrammarError;