Lines Matching refs:error

66 DropboxClient.prototype.updateUser = function(success, error, failOnAuth)  argument
73 error({code: App.ERROR_TIMEOUT});
103 this.updateUser(success, error, true);
104 }), error);
108 error({message: mxResources.get('accessDenied')});
117 DropboxClient.prototype.authenticate = function(success, error) argument
125 this.authenticateStep2(req.getText(), success, error);
127 else if (error != null)
129 error(req);
131 }), error);
134 DropboxClient.prototype.authenticateStep2 = function(state, success, error) argument
170 error({message: mxResources.get('accessDenied'), retry: auth});
173 }), error);
198 error({message: mxResources.get('accessDenied'), retry: auth});
221 error(e);
239 error({message: mxResources.get('serviceUnavailableOrBlocked'), retry: auth});
247 error({message: mxResources.get('accessDenied'), retry: auth});
257 error({code: App.ERROR_BUSY});
264 DropboxClient.prototype.executePromise = function(promiseFn, success, error) argument
273 error({code: App.ERROR_TIMEOUT, retry: fn});
307 }, error);
311 error({message: mxResources.get('accessDenied'), retry: mxUtils.bind(this, function()
316 }, error);
322 error({message: mxResources.get('error') + ' ' + err.status});
335 }, error, failOnAuth);
348 }, error);
359 DropboxClient.prototype.getLibrary = function(path, success, error) argument
361 this.getFile(path, success, error, true);
367 DropboxClient.prototype.getFile = function(path, success, error, asLibrary) argument
380 this.ui.convertFile(path, name, null, this.extension, success, error);
389 this.authenticate(fn, error);
424 }), error, binary);
434 DropboxClient.prototype.readFile = function(arg, success, error, binary) argument
443 error({code: App.ERROR_TIMEOUT});
463 error({message: mxResources.get('fileNotFound')});
499 error(e);
524 }, error);
528 error({message: mxResources.get('accessDenied'), retry: mxUtils.bind(this, function()
533 }, error);
539 error({message: mxResources.get('error') + ' ' + err.status});
552 }, error, failOnAuth);
565 }, error);
614 DropboxClient.prototype.renameFile = function(file, filename, success, error) argument
618 error({message: mxResources.get('dropboxCharsNotAllowed')});
649 this.executePromise(move, success, error);
665 this.executePromise(promiseFn, thenHandler, error);
670 error();
677 error({message: mxResources.get('invalidName')});
688 DropboxClient.prototype.insertLibrary = function(filename, data, success, error) argument
690 this.insertFile(filename, data, success, error, true);
699 DropboxClient.prototype.insertFile = function(filename, data, success, error, asLibrary) argument
717 }), error);
721 error();
732 DropboxClient.prototype.saveFile = function(filename, data, success, error, folder) argument
736 error({message: mxResources.get('dropboxCharsNotAllowed')});
740 error({message: mxResources.get('drawingTooLarge') + ' (' +
755 this.executePromise(promiseFn, success, error);
781 var error = mxUtils.bind(this, function(e)
811 this.createLibrary(files[0], fn, error);
813 }), error);
817 this.createLibrary(files[0], fn, error);
830 DropboxClient.prototype.createLibrary = function(file, success, error) argument
846 error(e);
848 }), error, true);
849 }), error);
893 var error = mxUtils.bind(this, function(e)
949 this.createFile(files[0], success, error);
951 }), error, binary);
955 this.createFile(files[0], success, error);
975 DropboxClient.prototype.createFile = function(file, success, error) argument
1000 }), error);
1009 error({message: mxResources.get('errorLoadingFile')});
1011 }), error, binary);