diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -238,8 +238,8 @@ Uploader.prototype._upload = function() {
   xhr.open(this.method.toUpperCase(), this.url);
 
   xhr.onerror = function() {
-    var message = this.statusText || 'xhr failed to upload';
-    self.emit('error', new UploadError(message));
+    var message = this.statusText || 'upload failed';
+    self.emit('error', new UploadError(message, this.status));
   };
 
   xhr.onload = function() {
@@ -284,5 +284,5 @@ Uploader.prototype.getFiles = function() {
 
 Uploader.prototype.clearFiles = function() {
   this.files = [];
-  return true;
+  return this.emit('files:cleared');
 };
Fire files:cleared event when clearFiles() is called