When you create a segment of code in which something might go wrong, you place the code in an error block.
Let's find answer to your question.
When you create a segment of code in which something might go wrong, you place the code in an error block.