結果 : python catch exception based on message