結果 : how to manually raise an error in python