DieActionValueError
DieActionValueError
An error thrown when an invalid die action (e.g. Exploding on a d1) occurs
new DieActionValueError(die, [action])
Create a DieActionValueError
Param | Type | Default | Description |
---|---|---|---|
die | StandardDice | The die the action was on | |
[action] | string | null | null | The invalid action |