結果 : define custom error in python