iNTERFACEWARE Products Manual > Learning Center > Learning Python > Error Detection |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
Python allows you to define exception handlers that catch and handle the runtime errors that your program detects. Here is an example of an exception handler in Python:
The following sections provide an overview of what syntax and runtime errors are, and then describe how to add an exception handler to your program. |