Variable onError

onError: Function

onError callback
each time a resource loading is failed, the loader will fire the specified function giving the actual asset as argument.

undefined

loader

// set a callback for error notification
me.loader.onError = this.loaderError.bind(this);