結果 : raising custom error in python