_onSourceError(event)
    {
        this._unbindSourceEvents();

        // since _onSourceError can be called synchronously, wait a tick before dispatching.
        setTimeout(() => this.onError.dispatch(new Error(event.message || 'Unable to load source.')), 0);
    }
/**
     * Called if the underlying source has an error during loading.
     *
     * @private
     * @param {object} event - The error event.
     */
Called if the underlying source has an error during loading.
@private
@param {object} event - The error event.
Called if the underlying source has an error during loading . @private @param { object } event - The error event .
_onSourceError(event)
    {
        this._unbindSourceEvents();
        setTimeout(() => this.onError.dispatch(new Error(event.message || 'Unable to load source.')), 0);
    }
_onSourceError ( event ) { this . _unbindSourceEvents ( ) ; setTimeout ( ( ) => this . onError . dispatch ( new Error ( event . message || 'Unable to load source.' ) ) , 0 ) ; }
Called if the underlying source has an error during loading.
Called if the underlying source has an error during loading .
// since _onSourceError can be called synchronously, wait a tick before dispatching.