The goog.db.Error Class

goog.db.Error
> goog.debug.Error
> Error

goog.db.Error(code, context, opt_message)

A database error. Since the stack trace can be unhelpful in an asynchronous context, the error provides a message about where it was produced.

code {number}
The error code.
context {string}
A description of where the error occured.
opt_message {string=}
Additional message.

The goog.db.Error.ErrorCode Enum

Error codes for database errors. … more

The goog.db.Error.VersionChangeBlockedError Class

A specific kind of database error. If a Version Change is unable to proceed due to other open database connections, it will block and this error will be thrown. … more

.code {number}

The code for this error.

.getMessage(code)

Translates an error code into a more useful message.

code {number}
Error code.
returns {string}
A debug message.

.name

Inherited from goog.debug.Error .