write a Usage of try-catch in errorHandling.js