src/aria/pageEngine/PageEngine.js
function (msg) {
            var config = this._config;
            this.$logError.apply(this, msg);
            if (config.onerror) {
                this.$callback(config.onerror, msg);
            }
        }
function (msg) {
            var config = this._config;
            this.$logError.apply(this, msg);
            if (config.onerror) {
                this.$callback(config.onerror, msg);
            }
        }
function ( msg ) { var config = this . _config ; this . $logError . apply ( this , msg ) ; if ( config . onerror ) { this . $callback ( config . onerror , msg ) ; } }
Logs an error and calls the onerror callback if specified in the configuration
@param {Array} msg Parameters to pass to the $logError method or to the error method provided in the
configuration
@protected
Logs an error and calls the onerror callback if specified in the configuration