up:request:offline
DOM event
This event is emitted when a request encounters a fatal error, like a timeout or loss of network connectivity.
Note
This event will not be emitted when the server produces an error message with an HTTP status like
500. When the server can produce any response,up:request:loadedis emitted instead.
The event is emitted on the layer that caused the request.
To effectively handle disconnects while rendering, use the up:fragment:offline event instead.
Event properties
The layer this request is associated with.
If this request was intended to update an existing fragment, this is that fragment's layer.
If this request was intended to open an overlay, the associated layer is the future overlay's parent layer.