Python · Lesson 9.3 · Pro
Raising errors
Stop bad data early with clear error messages of your own.
In this lesson
- raise an error yourself
- Pick the right error type
- Validate, then trust
- Your own error type
Go Pro to read this lesson
Pro unlocks every lesson and practice problem in SQL, Python, pandas and NumPy, with answers and step-by-step explanations.