lib/logger.js
function _parseErrors() {
    let errors = [].slice.call(arguments);
    let parsed = [];

    errors.forEach(err => {
        let message = (err instanceof Error) ? err.stack : err.toString();
        parsed.push(message);
    });

    return parsed;
}
function _parseErrors() {
    let errors = [].slice.call(arguments);
    let parsed = [];

    errors.forEach(err => {
        let message = (err instanceof Error) ? err.stack : err.toString();
        parsed.push(message);
    });

    return parsed;
}
function _parseErrors ( ) { let errors = [ ] . slice . call ( arguments ) ; let parsed = [ ] ; errors . forEach ( err => { let message = ( err instanceof Error ) ? err . stack : err . toString ( ) ; parsed . push ( message ) ; } ) ; return parsed ; }
Parses errors. Expects Error instance, or string with message
@returns {Array}
@private
Parses errors . Expects Error instance or string with message