結果 : how to manually raise an exception in python