anchor.diff:              client.close();
             });
       }, onError: (error) {
  -      completer.completeError(new AsyncError("$error"));
  +      completer.completeError(error);
       });
       request.close();
  -    
  +
     }, onError: (error) {
  -    completer.completeError(new AsyncError("$error"));
  +    completer.completeError(error);
     });
   
     return completer.future;
  
positive.code:   // TODO: Set https://pub.dartlang.org as default, not setting this until tests complete
    parser.addOption("pubserver", help: "Server to use for publishing");
    parser.addOption("prefix", abbr: "p", help: "Prefix for library name", defaultsTo: "google");
    parser.addOption("version", abbr: "v", help: "Overwrite library version, only valid in combination with --force");  
    parser.addFlag("force", help: "Force client library update even if no changes", negatable: false);
    parser.addFlag("pub", help: "Publish library to pub", negatable: false);
    parser.addFlag("pub-verbose", help: "Make pub output verbose", negatable: false);
  
negative.code:         completer.completeError(new HttpException("$error"));
        });
    });
  
    return completer.future;
  }
  
  