payal-kothari
7/29/2017 - 7:25 PM

try catch

try catch

try {
    Block of code to try
}
catch(err) {
    Block of code to handle errors
}