[API reference](https://jsprismarine.dev/api/index.md) / [@jsprismarine/errors](https://jsprismarine.dev/api/@jsprismarine/errors/index.md) / chunkgen

# chunkgen

## Classes

- [ChunkReadOutOfWindowError](https://jsprismarine.dev/api/@jsprismarine/errors/chunkgen/classes/ChunkReadOutOfWindowError.md)

## Variables

### ChunkgenErrors

> `const` **ChunkgenErrors**: `Readonly`\<\{ `ChunkNotReady`: *typeof* `ChunkNotReady`; `ChunkReadOutsideWindow`: *typeof* `ChunkReadOutsideWindow`; `ChunkReadPastGuarantee`: *typeof* `ChunkReadPastGuarantee`; `ChunkReleasedTooOften`: *typeof* `ChunkReleasedTooOften`; `ChunkStatusRegression`: *typeof* `ChunkStatusRegression`; `ChunkStepOutOfOrder`: *typeof* `ChunkStepOutOfOrder`; `DuplicateFeaturePatch`: *typeof* `DuplicateFeaturePatch`; `EmbeddedPipelineHasNoFactory`: *typeof* `EmbeddedPipelineHasNoFactory`; `EmbeddedPipelineOutsideExecutable`: *typeof* `EmbeddedPipelineOutsideExecutable`; `EmbeddedWorkerFailedWithoutError`: *typeof* `EmbeddedWorkerFailedWithoutError`; `FeaturePatchOutOfRange`: *typeof* `FeaturePatchOutOfRange`; `GenerationCanceled`: *typeof* `GenerationCanceled`; `GenerationHostHasNoPool`: *typeof* `GenerationHostHasNoPool`; `GenerationPoolClosed`: *typeof* `GenerationPoolClosed`; `HostExitedDuringStartup`: *typeof* `HostExitedDuringStartup`; `InvalidReusableInput`: *typeof* `InvalidReusableInput`; `MathRandomInGeneration`: *typeof* `MathRandomInGeneration`; `MissingGenerationLayer`: *typeof* `MissingGenerationLayer`; `MissingPipelineFactory`: *typeof* `MissingPipelineFactory`; `NoHolderToRelease`: *typeof* `NoHolderToRelease`; `PoolIsClosed`: *typeof* `PoolIsClosed`; `PoolWasClosed`: *typeof* `PoolWasClosed`; `PyramidHasNoStep`: *typeof* `PyramidHasNoStep`; `ReusableMiss`: *typeof* `ReusableMiss`; `ReusableSlotNotArray`: *typeof* `ReusableSlotNotArray`; `ShardOutOfRange`: *typeof* `ShardOutOfRange`; `UnknownChunkStatus`: *typeof* `UnknownChunkStatus`; `WorkerExited`: *typeof* `WorkerExited`; `WorkerFailed`: *typeof* `WorkerFailed`; `WorkerHasNoHeapStatsSlot`: *typeof* `WorkerHasNoHeapStatsSlot`; `WorkerHasNoStartupStatsSlot`: *typeof* `WorkerHasNoStartupStatsSlot`; `WorkerReturnedUnexpectedTask`: *typeof* `WorkerReturnedUnexpectedTask`; `WorkerWithoutParentThread`: *typeof* `WorkerWithoutParentThread`; \}\>

Defined in: [packages/errors/src/chunkgen.ts:1183](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/errors/src/chunkgen.ts#L1183)

The errors `@jsprismarine/chunkgen` throws.
