src/aria/templates/ClassGenerator.js
function (statement, msgId, msgArgs, errorContext) {
            if (msgArgs == null) {
                msgArgs = [];
            }
            msgArgs.push(statement.lineNumber);
            this.$logError(msgId, msgArgs, errorContext);
        }
function (statement, msgId, msgArgs, errorContext) {
            if (msgArgs == null) {
                msgArgs = [];
            }
            msgArgs.push(statement.lineNumber);
            this.$logError(msgId, msgArgs, errorContext);
        }
function ( statement , msgId , msgArgs , errorContext ) { if ( msgArgs == null ) { msgArgs = [ ] ; } msgArgs . push ( statement . lineNumber ) ; this . $logError ( msgId , msgArgs , errorContext ) ; }
Log the given error.
@private
@param {aria.templates.TreeBeans:Statement} statement Statement in the template tree from which the error is
being raised. It will be transformed into the corresponding line number in the source template and added at
the end of otherParams.
@param {String} msgId error id, used to find the error message
@param {Array} msgArgs parameters of the error message
@param {Object} errorContext
Log the given error .