Dexie.InvalidArgumentError
Inheritance Hierarchy
Dexie.DexieError
Dexie.InvalidArgumentError
Description
A Dexie method was called with one or more invalid arguments. For example:
calling db.delete(someArgument) with arguments (as the method requires no arguments being passed to it)
calling db.transaction() with no table arguments.
calling db.transaction() with an invalid transaction mode
calling Table.bulkPut() or Table.bulkAdd() with invalid arguments.
calling Table.update() with invalid arguments.
Sample using Promise.catch()
Sample: switch(error.name)
Properties
name
Will always be Dexie.errnames.InvalidArgument === "InvalidArgumentError"
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.