結果 : how to throw exception with message in python