DatabaseError
Defined in: .work/repos/olmdb/src/lowlevel.ts:162
Interface for DatabaseError, which extends the standard Error class. Contains an additional code property for machine-readable error identification.
Extends
Section titled “Extends”Error
Properties
Section titled “Properties”code:
string
Defined in: .work/repos/olmdb/src/lowlevel.ts:167
A machine-readable string code identifying the type of error. Example codes include: “NOT_INIT”, “INVALID_TRANSACTION”, “KEY_TOO_LONG”, etc.
cause?
Section titled “cause?”
optionalcause?:unknown
Defined in: site/node_modules/typescript/lib/lib.es2022.error.d.ts:24
Inherited from
Section titled “Inherited from”Error.cause
name:
string
Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1074
Inherited from
Section titled “Inherited from”Error.name
message
Section titled “message”message:
string
Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
Section titled “Inherited from”Error.message
stack?
Section titled “stack?”
optionalstack?:string
Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Section titled “Inherited from”Error.stack