code: function error() {
  
                          this.httpRequest.upload.onerror = function onError() {
  
                              $scope.$apply(function apply() {
  
                                  $scope.finishedUploading();
                                  $scope.isError = true;
  
                                  var response = $scope.options.parserFn(this.httpRequest.responseText);
                                  $rootScope.$broadcast('$dropletError', response);
                                  $scope.onError({ response: response });
                                  this.deferred.reject(response);
  
                              }.bind(this));
  
                          }.bind(this);
  
                      }
docs: Invoked when an error is thrown when uploading the files.
  
  @method error
  @return {void}