結果 : python print error type and message