結果 : how to create a custom error in python