結果 : exit function on error python