RequestErrorEvent
external class RequestErrorEvent(var statusCode: Int = definedExternally, var response: Any = definedExternally, responseHeaders: Any? = definedExternally)(source)
An event that is raised when a request encounters an error.
Parameters
responseHeaders
The response headers, represented either as an object literal or as a string in the format returned by XMLHttpRequest's getAllResponseHeaders() function.