Python: Writing Custom Exceptions is easier than you might think | by Shivam Batra | Towards Data Science
How to Define Custom Exception Classes in Python | by Stephen Fordham | Towards Data Science
Using Python Error Messages in Idle
GitHub - andy-landy/traceback_with_variables: Adds variables to python traceback. Simple, lightweight, controllable. Debug reasons of exceptions by logging or pretty printing colorful variable contexts for each frame in a stacktrace, showing every value.
Python Exceptions: An Introduction – Real Python
5.1. Using Error Messages — Hands-on Python Tutorial for Python 3