結果 : how to throw errors in python