Adds error block to catch all errors; improves error messages