結果 : how to define a new error in python