Python
docs.python.org โบ 3 โบ builtins โบ exceptions.html
Built-in Exceptions โ Python 3.14.7 documentation
They are part of the exception hierarchy so they can be handled with except like all other exceptions. In addition, they are recognised by except*, which matches their subgroups based on the types of the contained exceptions.
Python: Exception vs BaseException #shorts
Python Exception Handling Tutorial for Beginners - YouTube
06:35
Using except: is a HUGE mistake - YouTube
16:44
Working With Python's Built-in Exceptions: Exploring ...
03:40
Demystifying Built-in Exceptions (Video) โ Real Python
airbrake
docs.airbrake.io โบ home โบ blog โบ python โบ the python exception class hierarchy
The Python Exception Class Hierarchy - Airbrake Docs
November 2, 2017 - Exception is the most commonly-inherited exception type (outside of the true base class of BaseException). In addition, all exception classes that are considered errors are subclasses of the Exception class. In general, any custom exception class you create in your own code should inherit from Exception. The Exception class contains many direct child subclasses that handle most Python errors, so weโll briefly go over each below:
Embedded Inventor
embeddedinventor.com โบ home โบ hierarchy of exceptions in python
Hierarchy of Exceptions in Python
December 27, 2023 - ExceptionGroup [BaseExceptionGroup]: It extends the Exception group and can wrap subclasses of the Exception class. The ExceptionGroup constructor raises a TypeError if any contained exception is not an Exception subclass. ImportError: As the name states, this is raised when there is some problem trying to import a module. Related: 6 Common Mistakes While Importing Modules & Their Fixes! (Python)
Python
docs.python.org โบ 3.3 โบ library โบ exceptions.html
5. Built-in Exceptions โ Python 3.3.7 documentation
The class hierarchy for built-in exceptions is: BaseException +-- SystemExit +-- KeyboardInterrupt +-- GeneratorExit +-- Exception +-- StopIteration +-- ArithmeticError | +-- FloatingPointError | +-- OverflowError | +-- ZeroDivisionError +-- AssertionError +-- AttributeError +-- BufferError +-- EOFError +-- ImportError +-- LookupError | +-- IndexError | +-- KeyError +-- MemoryError +-- NameError | +-- UnboundLocalError +-- OSError | +-- BlockingIOError | +-- ChildProcessError | +-- ConnectionError | | +-- BrokenPipeError | | +-- ConnectionAbortedError | | +-- ConnectionRefusedError | | +-- Con
Real Python
realpython.com โบ python-built-in-exceptions
Python's Built-in Exceptions: A Walkthrough With Examples โ Real Python
March 18, 2026 - Python passes them along to your application. In most cases, youโll be catching these exceptions but not raising them in your code. Warnings: They provide warnings about unexpected events or actions that could result in errors later. These particular types of exceptions donโt represent errors. Ignoring them can cause you issues later, but you can ignore them. ... BaseException โโโ BaseExceptionGroup โโโ GeneratorExit โโโ KeyboardInterrupt โโโ SystemExit โโโ Exception โโโ ArithmeticError โ โโโ FloatingPointError โ โโโ OverflowError โ โ
Python Tutorial
pythontutorial.net โบ home โบ python oop โบ python exceptions
Python Exceptions
March 28, 2025 - In Python, exceptions are objects of the exception classes. All exception classes are the subclasses of the BaseException class. However, almost all built-in exception classes inherit from the Exception class, which is the subclass of the BaseException class: This page shows a complete class hierarchy ...
Python
docs.python.org โบ 3.2 โบ library โบ exceptions.html
5. Built-in Exceptions โ Python v3.2.6 documentation
The class hierarchy for built-in exceptions is: BaseException +-- SystemExit +-- KeyboardInterrupt +-- GeneratorExit +-- Exception +-- StopIteration +-- ArithmeticError | +-- FloatingPointError | +-- OverflowError | +-- ZeroDivisionError +-- AssertionError +-- AttributeError +-- BufferError +-- EnvironmentError | +-- IOError | +-- OSError | +-- WindowsError (Windows) | +-- VMSError (VMS) +-- EOFError +-- ImportError +-- LookupError | +-- IndexError | +-- KeyError +-- MemoryError +-- NameError | +-- UnboundLocalError +-- ReferenceError +-- RuntimeError | +-- NotImplementedError +-- SyntaxError
GeeksforGeeks
geeksforgeeks.org โบ python โบ built-exceptions-python
Python Built-in Exceptions - GeeksforGeeks
This class is the root of Python's exception hierarchy. All other exceptions directly or indirectly inherit from it. While it is rarely used directly in code, it is important because it forms the foundation of Pythonโs error-handling system.
Published: April 18, 2026
CodeSignal
codesignal.com โบ learn โบ courses โบ debugging-code-using-python โบ lessons โบ navigating-through-python-exceptions-a-beginners-guide
Navigating Through Python Exceptions: A Beginner's Guide
Much like a family tree, Python exceptions form an inheritance hierarchy. All exceptions are derived from a built-in BaseException class. Hence, specific exceptions inherit properties from the more general ones, forming a hierarchy.
Airbrake
blog.airbrake.io โบ blog โบ python โบ class-hierarchy
The Python Exception Class Hierarchy
November 1, 2017 - We cannot provide a description for this page right now
Python
docs.python.org โบ 3.4 โบ library โบ exceptions.html
5. Built-in Exceptions โ Python 3.4.10 documentation
The class hierarchy for built-in exceptions is: BaseException +-- SystemExit +-- KeyboardInterrupt +-- GeneratorExit +-- Exception +-- StopIteration +-- ArithmeticError | +-- FloatingPointError | +-- OverflowError | +-- ZeroDivisionError +-- AssertionError +-- AttributeError +-- BufferError +-- EOFError +-- ImportError +-- LookupError | +-- IndexError | +-- KeyError +-- MemoryError +-- NameError | +-- UnboundLocalError +-- OSError | +-- BlockingIOError | +-- ChildProcessError | +-- ConnectionError | | +-- BrokenPipeError | | +-- ConnectionAbortedError | | +-- ConnectionRefusedError | | +-- Con