lib/fmt.js
function(error) {
  return util.format('  %s: %s',
    chalk.magenta(error.plugin.name),
    error.message);
}
function(error) {
  return util.format('  %s: %s',
    chalk.magenta(error.plugin.name),
    error.message);
}
function ( error ) { return util . format ( '  %s: %s' , chalk . magenta ( error . plugin . name ) , error . message ) ; }
Build a detailed error string for displaying to the user.

@private
@function fmt.~errorDetail
@param {Error} error The error for which to build a string.
@return {String}
Build a detailed error string for displaying to the user .