Concept Flow - Creating exception classes
Define new Exception class
Raise the new Exception
Catch the Exception with try-except
Handle or print error message
End
You first create a new exception class, then raise it in code, catch it using try-except, and finally handle or display the error.