The goog.net.ErrorCode Enum

goog.net.ErrorCode

Error codes

@enum
{number}

.ABORT

The request was aborted.

.ACCESS_DENIED

The most common error from iframeio, unfortunately, is that the browser responded with an error page that is classed as a different domain. The situations, are when a browser error page is shown -- 404, access denied, DNS failure, connection reset etc.)

.CUSTOM_ERROR

Custom error provided by the client through the error check hook.

.EXCEPTION

Exception was thrown while processing the request.

.FF_SILENT_ERROR

If Firefox shows a browser error page, such as a connection reset by server or access denied, then it will fail silently without the error or load handlers firing.

.FILE_NOT_FOUND

Currently the only case where file not found will be caused is when the code is running on the local file system and a non-IE browser makes a request to a file that doesn't exist.

.HTTP_ERROR

The Http response returned a non-successful http status code.

.NO_ERROR

There is no error condition.

.OFFLINE

The resource is not available offline.

.TIMEOUT

The request timed out.

.getDebugMessage(errorCode)

Returns a friendly error message for an error code. These messages are for debugging and are not localized.

errorCode {goog.net.ErrorCode}
An error code.
returns {string}
A message for debugging.