Do we have a built in error handling in JS?