Introduction
We use match to check if something worked or failed, so we can handle each case properly.
When reading a file and you want to do something different if it fails.
When converting text to a number and you need to handle invalid input.
When calling a function that might return an error and you want to respond accordingly.
When working with network requests that can succeed or fail.
When you want to show a message to the user depending on success or failure.