Added error handling example `examples/error_handling.py`