components/ft-fixture/ft-fixture.js
/**
     * Call this method with the parameters you get from things like the XMLHttpRequest onerror() callback to turn
     * it into a standard "Error" instance. Different browsers provide different data in different contexts,
     * and any of the given parameters are allowed to have null values.
     *
     * @param {String} message The error message.
     * @param {String} url The url of the error.
     * @param {String} lineNumber The line number in the source code where the error occurred.
     * @param {String} columnNumber The column number in the source code where the error occurred.
     * @param {Object} errorObject The error object.
     */
Call this method with the parameters you get from things like the XMLHttpRequest onerror() callback to turn
it into a standard "Error" instance. Different browsers provide different data in different contexts,
and any of the given parameters are allowed to have null values.

@param {String} message The error message.
@param {String} url The url of the error.
@param {String} lineNumber The line number in the source code where the error occurred.
@param {String} columnNumber The column number in the source code where the error occurred.
@param {Object} errorObject The error object.
Call this method with the parameters you get from things like the XMLHttpRequest onerror () callback to turn it into a standard " Error " instance . Different browsers provide different data in different contexts and any of the given parameters are allowed to have null values . @param { String } message The error message . @param { String } url The url of the error . @param { String } lineNumber The line number in the source code where the error occurred . @param { String } columnNumber The column number in the source code where the error occurred . @param { Object } errorObject The error object .
createErrorFromValues(message, url, lineNumber, columnNumber, errorObject) {
        var error = new Error();
        if (!!message)
            error.message = message;
        if (!!url)
            error.url = url;
        if (!!lineNumber)
            error.lineNumber = lineNumber;
        if (!!columnNumber)
            error.columnNumber = columnNumber;
        if (!!errorObject)
            error.errorObject = errorObject;
        return error;
    }
createErrorFromValues ( message , url , lineNumber , columnNumber , errorObject ) { var error = new Error ( ) ; if ( ! ! message ) error . message = message ; if ( ! ! url ) error . url = url ; if ( ! ! lineNumber ) error . lineNumber = lineNumber ; if ( ! ! columnNumber ) error . columnNumber = columnNumber ; if ( ! ! errorObject ) error . errorObject = errorObject ; return error ; }
Call this method with the parameters you get from things like the XMLHttpRequest onerror() callback to turn
 it into a standard "Error" instance.
Call this method with the parameters you get from things like the XMLHttpRequest onerror () callback to turn it into a standard " Error " instance .