Courses
Programming language
Explore courses by programming language.
Course type
Learn, challenge or build your portfolio in a practice-driven way.
Level of knowledge
Choose courses tailored to your level of knowledge perfectly.
Or try to search for any course. Still can't find? let us know what are you missing!
Journey
Login
Creator
Anonymous
In this chapter, you will learn one of the most important concepts in programming which is Exception Handling. Exception Handling is the key if you want to develop solid and unbreakable programs. Exception Handling is the process of responding to exceptions which breaks program.
Prerequisites
Basic Python skills
Basics of Object Oriented Programming
Introduction to Exceptions
What is Exception ?
Exception vs Error
Exception Handling
try-except
else
Finally
Printing Exception message
Printing Exception Name
Handling Multiple Exceptions
sys module for information
User-defined Exceptions
Types of Exceptions
Raising an Exception
User Defined Exception
Exception Handling Exercise- 1
Exception Handling Example-2
Exception Handling Example-3
Customization/best practices
Customize Tracebacks