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 (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

Related topics

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