CB-6781: Expose FileTransferError.exception to application

This commit is contained in:
Ian Clelland
2014-07-14 10:56:08 -04:00
parent 7e331313f6
commit bdd3e2d56f
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -23,12 +23,13 @@
* FileTransferError
* @constructor
*/
var FileTransferError = function(code, source, target, status, body) {
var FileTransferError = function(code, source, target, status, body, exception) {
this.code = code || null;
this.source = source || null;
this.target = target || null;
this.http_status = status || null;
this.body = body || null;
this.exception = exception || null;
};
FileTransferError.FILE_NOT_FOUND_ERR = 1;