Skip to content

VTTF-0011: InvalidDice

NOTE

stepDie() was given a die that is not on the ladder or a fractional number of steps, or dicePool() was given a count, faces, keep or drop that is not a whole number in range (keep and drop go up to the number of dice), or both keep and drop.

FieldValue
CodeVTTF-0011
NameInvalidDice
Package@vttforge/core
Sourcepackages/core/src/errors/registry.ts

This page comes from the registry entry. We are still writing the root causes, common triggers and code samples for each code; the message above is what the runtime throws.

packages/core/scripts/codegen-errors.mjs builds this file from the registry at packages/core/src/errors/registry.ts. Do not edit by hand; re-run pnpm --filter @vttforge/core build after editing the registry.

MIT licensed.