結果 : how to define custom exception python