GetSMS not return `error_message` field
lryong opened this issue · comments
Herbert Lu commented
I find that GetSMS()
method filters out Twilio specific error code in SmsResponse, and only return when
HTTP Status Code is not 200.
I think it would be more appropriate to return the Twilio exception code field in the result, since the user can determine the reason for the failed SMS.
Herbert Lu commented
Sorry, I find the new version has a method GetMessage
which returns error code, thx~