onerror property

Defines a function handler that is executed when an error is encountered during a request, a transaction, or other database operation.

This property is read/write.

Syntax

JavaScript
object.onerror = ptr
ptr = object.onerror

Property values

Type: Function

A reference to the function.

Standards information

See also

IDBDatabase
IDBRequest
IDBTransaction

 

 

Show:
© 2014 Microsoft. All rights reserved.