Dexie.DataError
Inheritance Hierarchy
Dexie.DexieError
Dexie.DataError
Description
An index property (or primary key) was of the wrong type (not an indexable). This happens when:
...adding a new object to a table where its primary key is not an indexable type)
...querying by index, where the argument is not an indexable type)
Sample
Sample using Promise.catch()
Sample: switch(error.name)
Properties
name
Will always be Dexie.errnames.Data === "DataError"
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.