API reference / @jsprismarine/chunkgen / GenerationCanceledError
Class: GenerationCanceledError
Defined in: GenerationPool.ts:265
Raised when a task is dropped from the backlog before a worker ever saw it.
Extends
Constructors
Constructor
new GenerationCanceledError(
chunkX,chunkZ):GenerationCanceledError
Defined in: GenerationPool.ts:268
Parameters
chunkX
number
chunkZ
number
Returns
GenerationCanceledError
Overrides
Error.constructor
Properties
name
name:
string='GenerationCanceledError'
Defined in: GenerationPool.ts:266
Overrides
Error.name