how to send an error message in python code example Example: throwing an exception python raise Exception("message")