Skip to content

API reference / @jsprismarine/errors / blocks

blocks ​

Classes ​

Variables ​

BlocksErrors ​

const BlocksErrors: Readonly<{ BlockHasNoStates: typeof BlockHasNoStates; BlocksDidNotResolveCleanly: typeof BlocksDidNotResolveCleanly; DuplicateCapturedBlock: typeof DuplicateCapturedBlock; DuplicatePaletteBlock: typeof DuplicatePaletteBlock; DuplicateState: typeof DuplicateState; InvalidStateValue: typeof InvalidStateValue; LiquidReactionVariesByState: typeof LiquidReactionVariesByState; MissingCollisionGeometry: typeof MissingCollisionGeometry; MissingDisplayName: typeof MissingDisplayName; PaletteHasNoBlock: typeof PaletteHasNoBlock; RuntimeIdOutOfRange: typeof RuntimeIdOutOfRange; StateHasNoValues: typeof StateHasNoValues; StateIndexOutOfRange: typeof StateIndexOutOfRange; TooManyCollisionBoxes: typeof TooManyCollisionBoxes; UnknownState: typeof UnknownState; }>

Defined in: packages/errors/src/blocks.ts:516

The errors @jsprismarine/blocks throws.