Skip to content

API reference / @jsprismarine/leveldb / CorruptionError

Class: CorruptionError ​

Defined in: Errors.ts:6

A database we could not fully parse. Always fatal: there is no repair path here, and guessing at a half-understood database is how a world gets silently mangled. Open it in the game, which has one, and let it rewrite the files.

Extends ​

Constructors ​

Constructor ​

new CorruptionError(message): CorruptionError

Defined in: Errors.ts:7

Parameters ​

message ​

string

Returns ​

CorruptionError

Overrides ​

Error.constructor