結果 : how to return exception in python