@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) • 376 B
TypeScript
export default RequiredArgumentError;
/**
* An error thrown when a required argument is missing
*/
declare class RequiredArgumentError extends Error {
/**
* Create a `RequiredArgumentError`
*
* @param {string|null} [argumentName=null] The argument name
*/
constructor(argumentName?: string | null | undefined);
argumentName: string | null;
}