goog.debug.Error | |
goog.db.Error | goog.debug.Error |
error
: number | !DOMError
The DOMError instance returned by the
browser for Chrome22+, or an error code for previous versions.
|
context
: string
A description of where the error occured.
|
opt_message
: string=
Additional message.
|
Constructs an goog.db.Error instance from an DOMException. This abstraction
is necessary to provide backwards compatibility with Chrome21.
Arguments:
Returns: !goog.db.Error
The error that caused the failure.
|
code » | |||
Constructs an goog.db.Error instance from an IDBRequest. This abstraction is
necessary to provide backwards compatibility with Chrome21.
Arguments:
Returns: !goog.db.Error
The error that caused the failure.
|
code » | |||
Translates an error name to an error code. This is purely kept for backwards
compatibility with Chrome21.
|
code » | |||
Translates an error code into a more useful message.
|
code » | |||
![]()
Converts an error code used by the old spec, to an error name used by the
latest spec.
Arguments:
Returns: !goog.db.Error.ErrorName
The corresponding name of the error.
|
code » |
![]()
No description.
|
Code » |
![]()
Synthetic error codes for database errors, for use when IndexedDB
support is not available. This numbering differs in practice
from the browser implementations, but it is not meant to be reliable:
this object merely ensures that goog.db.Error is loadable on platforms
that do not support IndexedDB.
Constants:
|
Code » | |||||||||||||||
![]()
Error codes for database errors.
Constants:
|
Code » | |||||||||||||||
![]()
Names of all possible errors as returned from the browser.
Constants:
|
Code » |