UNPKG

dice-typescript

Version:

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

8 lines (7 loc) 240 B
import { ExpressionNode } from '../ast'; export declare class InterpreterError { message: string; expression: ExpressionNode; stack: string; constructor(message: string, expression: ExpressionNode, stack?: string); }