try except python return exception error code example Example: throwing an exception python raise Exception("message")