You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mm...@apache.org on 2013/02/25 14:40:50 UTC

[17/50] js commit: [common] CB-2103: added "body" property to FileTransferError.

[common] CB-2103: added "body" property to FileTransferError.


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/efdf3eaf
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/efdf3eaf
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/efdf3eaf

Branch: refs/heads/multipart_plugin_result
Commit: efdf3eaf7dd4e641f45494c7472757e0f493c99f
Parents: 6133a7e
Author: Fil Maj <ma...@gmail.com>
Authored: Fri Feb 15 15:07:40 2013 -0800
Committer: Fil Maj <ma...@gmail.com>
Committed: Fri Feb 15 15:07:40 2013 -0800

----------------------------------------------------------------------
 lib/common/plugin/FileTransferError.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/efdf3eaf/lib/common/plugin/FileTransferError.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/FileTransferError.js b/lib/common/plugin/FileTransferError.js
index 7e6edb1..1394f59 100644
--- a/lib/common/plugin/FileTransferError.js
+++ b/lib/common/plugin/FileTransferError.js
@@ -23,11 +23,12 @@
  * FileTransferError
  * @constructor
  */
-var FileTransferError = function(code, source, target, status) {
+var FileTransferError = function(code, source, target, status, body) {
     this.code = code || null;
     this.source = source || null;
     this.target = target || null;
     this.http_status = status || null;
+    this.body = body || null;
 };
 
 FileTransferError.FILE_NOT_FOUND_ERR = 1;