結果 : how to write custom exception python