結果 : how to raise custom error in python