Python gives you an error message when the exception occurs during program execution, and the program stops. code example
Example: raise python
# Raise is used to cause an error
raise(Exception("Put whatever you want here!"))
raise(TypeError)
# Raise is used to cause an error
raise(Exception("Put whatever you want here!"))
raise(TypeError)