結果 : raise error with custom message python