Dexie.DatabaseClosedError
Inheritance Hierarchy
Dexie.DexieError
Dexie.DatabaseClosedError
Description
The database connection has been closed explicitly, by calling db.close(), or it was opened with option {autoOpen: false}
and db.open() was not yet called upon.
Sample using Promise.catch()
Sample: switch(error.name)
Properties
name
Will always be Dexie.errnames.DatabaseClosed === "DatabaseClosedError"
message
Detailed message
inner?
Inner exception instance (if any)
stack
Can be present if the error was thrown. If signaled, there wont be any call stack.