API reference / @jsprismarine/errors / leveldb / DatabaseLockedError
Abstract Class: DatabaseLockedError
Defined in: packages/errors/src/leveldb.ts:34
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(
message?):DatabaseLockedError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
message?
string
Returns
DatabaseLockedError
Inherited from
Constructor
new DatabaseLockedError(
message?,options?):DatabaseLockedError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
message?
string
options?
ErrorOptions
Returns
DatabaseLockedError
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='DatabaseLockedError'
Defined in: packages/errors/src/leveldb.ts:35
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