handleEvent(transaction, error)
A callback method to handle statement errors.
handleEvent(transaction,
error)
This method does not return anything.
Name |
Description |
Type |
error |
The object that represents the error. It provides an error message describing the
error encountered (via the message attribute), and the corresponding error
code (via the code attribute). Please see the description of the
code() method for the list of error codes. |
SQLError |
transaction |
The object representing the transaction. |
SQLTransaction |