結果 : how to write custom exception in python