goog.db.Error
Classgoog.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
}
context
{string
}
opt_message
{string
=}
goog.db.Error.ErrorCode
EnumError codes for database errors. … more
goog.db.Error.VersionChangeBlockedError
ClassA 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
}
string
}
.name
Inherited from goog.debug.Error
.