結果 : python get status code from exception