Salesforce interview question

how do you do error handling