handleEvent(transaction, error)


Purpose

A callback method to handle statement errors.

Signature

handleEvent(transaction, error)

Returns

This method does not return anything.

Parameter

Name Description Type
error The object that represents the error. It provides an error message describing the error encountered (within the message attribute), and the corresponding error code (within 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

Related topics

Overview
Web SQL Database
Legal notice | Copyright © 2016 and Confidential to Pegasystems Inc. All rights reserved
PDN | Hybrid Container | Feedback
Advanced...