utils/utils.js
function error (message) {
  console.log(chalk.bgRed.white('[Error]' + message))
  throw new Error(message)
}
function error (message) {
  console.log(chalk.bgRed.white('[Error]' + message))
  throw new Error(message)
}
function error ( message ) { console . log ( chalk . bgRed . white ( '[Error]' + message ) ) throw new Error ( message ) }
Pretty Error message
Pretty Error message