結果 : how to write custom exceptions in python