UNPKG

dice-typescript

Version:

A TypeScript library for parsing dice rolling expressions, most commonly used in tabletop RPGs.

13 lines 495 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var InterpreterError = /** @class */ (function () { function InterpreterError(message, expression, stack) { if (stack === void 0) { stack = (new Error().stack); } this.message = message; this.expression = expression; this.stack = stack; } return InterpreterError; }()); exports.InterpreterError = InterpreterError; //# sourceMappingURL=error-message.class.js.map