UNPKG

@dice-roller/rpg-dice-roller

Version:

An advanced JS based dice roller that can roll various types of dice and modifiers, along with mathematical equations.

14 lines (13 loc) 277 B
export default DataFormatError; /** * An error thrown when a data format is invalid */ declare class DataFormatError extends Error { /** * Create a `DataFormatError` * * @param {*} data The invalid data */ constructor(data: any); data: any; }