Programming - Activity
Error handling
Code designed to detect problems and decide what should happen when they occur
What's it for?
Helps software fail safely or recover instead of simply stopping when something goes wrong.
For example…
If a payment service is unavailable, the app shows a clear message and lets the customer try again instead of crashing