Dexie.OpenFailedError
Inheritance Hierarchy
Dexie.DexieError
Dexie.OpenFailedError
Description
Happens when a db operation has failed due to that database couldn't be opened.
NOTICE! Always inspect the inner
property of a OpenFailedError, which will hold the reason why the call to db.open() has failed.
Sample using Promise.catch()
Sample: switch(error.name)
Properties
name
Will always be Dexie.errnames.OpenFailed === "OpenFailedError"
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.