code: function error () {
    if (mocking) {
      cli.stderr += stripAnsi(concatArguments(arguments) + '\n')
    } else {
      console.error.apply(null, arguments)
    }
  }
docs: error is a wrapper for console.error() but can be mocked
  
  @param {...Object} obj - objects to be printed to stderr