I try to eleminate an 404 error occuring because the source (src) is missing..
var $chart = $(\"\") .addClass(\"trend-pic\") .error(func
Just the answer is No.Because this is the only way Server send "there is a Error".
Refer this one.
Prevent 404 Error in console