Lines Matching refs:error

35 TrelloClient.prototype.authenticate = function(fn, error, force)  argument
63 error: function()
70 if (error != null)
72 error(mxResources.get('loggedOut'));
91 TrelloClient.prototype.getLibrary = function(id, success, error) argument
93 this.getFile(id, success, error, false, true);
99 TrelloClient.prototype.getFile = function(id, success, error, denyConvert, asLibrary) argument
112 error({code: App.ERROR_TIMEOUT, retry: callback})
133 this.extension, success, error, null, headers);
142 error({code: App.ERROR_TIMEOUT})
187 this.authenticate(callback, error, true);
191 error();
206 this.authenticate(callback, error, true);
210 error();
216 this.authenticate(callback, error);
222 TrelloClient.prototype.insertLibrary = function(filename, data, success, error, cardId) argument
224 this.insertFile(filename, data, success, error, true, cardId);
230 TrelloClient.prototype.insertFile = function(filename, data, success, error, asLibrary, cardId) argument
248 }), error);
256 }), error, data);
264 this.authenticate(callback, error);
270 TrelloClient.prototype.saveFile = function(file, success, error) argument
288 this.authenticate(callback, error, true);
292 error();
295 }, error);
305 }), error, (this.ui.getCurrentFile() != file) ? file.getData() : null);
313 this.authenticate(callback, error);
319 TrelloClient.prototype.writeFile = function(filename, data, cardId, success, error) argument
325 error({message: mxResources.get('drawingTooLarge') + ' (' +
338 error({code: App.ERROR_TIMEOUT, retry: fn});
366 this.authenticate(fn, error, true);
370 error();
380 this.authenticate(fn, error);
384 error({message: mxResources.get('unknownError')});
491 var error = mxUtils.bind(this, function(err)
546 this.authenticate(callback, error, true);
548 else if (error != null)
550 error(req);
669 this.authenticate(callback, error, true);
671 else if (error != null)
673 error({message: req.responseText});