CHACK VAR ISTNIEJĄ DLA Błąd pomijania na JavaScript

try{

//code that causes an error

}catch(e){

functionToHandleError(e);
}
//continue from here
Rays