Prev | Index | Next
Exceptions: Why do I care?
- Provides a clean way to handle program errors
- Define your error handling code in one place, rather than constantly checking return values of functions
- Avoids handcoding the propogation of an error up the call chain
- Users can create their own exceptions
An Introduction To Python