SendOption["error"] = function(xhr,e){
try{animation("hide");}catch(err){};
if(options["isError"]!=true){
try{PutMessage("数据请求过程中发生错误!");}
catch (err) { PutMessage(err); }
}else if(options["error"]!=undefined && options["error"]!=null
&& typeof(options["error"])=='function'){
try{options["error"]({"success":"false","tips":"数据请求过程中发生错误!"});}
catch (err) { PutMessage(err); }
};
return false;
};
try{animation("hide");}catch(err){};
if(options["isError"]!=true){
try{PutMessage("数据请求过程中发生错误!");}
catch (err) { PutMessage(err); }
}else if(options["error"]!=undefined && options["error"]!=null
&& typeof(options["error"])=='function'){
try{options["error"]({"success":"false","tips":"数据请求过程中发生错误!"});}
catch (err) { PutMessage(err); }
};
return false;
};