Phaser API Documentation

  Version: 

Member of: Phaser.Loader.File

onError(xhr, event)

Description:

Called if the file errors while loading, is sent a DOM ProgressEvent.

Parameters:

name type description
xhr XMLHttpRequest

The XMLHttpRequest that caused this onload event.

event ProgressEvent

The DOM ProgressEvent that resulted from this error.

Since: 3.0.0
Source: src/loader/File.js (Line 330)