how to handle raised errors in python code example Example: throwing an exception python raise Exception("message")