API reference / @jsprismarine/leveldb / DatabaseLockedError
Class: DatabaseLockedError
Defined in: Errors.ts:19
The database directory is held by someone else - another server, or the game itself.
A lock left behind by a process that is no longer running is not this: it is taken over silently, so a server killed without a chance to clean up still starts next time.
Extends
Constructors
Constructor
new DatabaseLockedError(
path,cause?,pid?):DatabaseLockedError
Defined in: Errors.ts:20
Parameters
path
string
cause?
unknown
pid?
number
Returns
DatabaseLockedError
Overrides
Error.constructor