Glossary¶
- exception
An error that occurs at runtime.
- handle an exception
To prevent an exception from terminating a program by wrapping the block of code in a
try
/except
construct.- raise
To cause an exception by using the
raise
statement.
An error that occurs at runtime.
To prevent an exception from terminating a program by wrapping
the block of code in a try
/ except
construct.
To cause an exception by using the raise
statement.
(thinkcshpy_scratch_ac)