API reference / @jsprismarine/errors / chunkgen / ChunkReadOutOfWindowError
Abstract Class: ChunkReadOutOfWindowError
Defined in: packages/errors/src/chunkgen.ts:18
Raised when a status body asks for a chunk its step did not declare.
Java builds a CrashReport titled "Exception generating new chunk" and throws ReportedException in the same place, from WorldGenRegion.getChunk. An undeclared read is a crash on the first chunk rather than a difference on the thousandth, which is the reason the step table is enforced rather than documented.
Extends
Constructors
Constructor
new ChunkReadOutOfWindowError(
message?):ChunkReadOutOfWindowError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
message?
string
Returns
ChunkReadOutOfWindowError
Inherited from
Constructor
new ChunkReadOutOfWindowError(
message?,options?):ChunkReadOutOfWindowError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
message?
string
options?
ErrorOptions
Returns
ChunkReadOutOfWindowError
Inherited from
Properties
code
abstractreadonlycode:string
Defined in: packages/errors/src/JSPrismarineError.ts:36
The catalog code, such as LEVELDB_DATABASE_LOCKED. It never changes between releases.
Inherited from
docs
abstractreadonlydocs:string
Defined in: packages/errors/src/JSPrismarineError.ts:37
The address of this error's entry in the error reference.
Inherited from
name
name:
string='ChunkReadOutOfWindowError'
Defined in: packages/errors/src/chunkgen.ts:19
Overrides
JSPrismarineError.name
params
abstractreadonlyparams:Readonly<Record<string,unknown>>
Defined in: packages/errors/src/JSPrismarineError.ts:38
The placeholder values the message was built from.
Inherited from
Accessors
[cataloged]
Get Signature
get [cataloged]():
true
Defined in: packages/errors/src/JSPrismarineError.ts:40
Returns
true