Skip to content

Glossary: Python Basics

Exception

Also written: exceptions, raise an exception

An error that stops the program unless it is caught. Python raises one when it cannot carry on, such as `ValueError` for `int("ten")`.

Where the book teaches it

Related terms

try and exceptraise