[bug] ResponseError#response#body has incorrect type #1222
Labels
status: help wanted
requesting help from the community
type: twilio enhancement
feature request on Twilio's roadmap
Issue Summary
ResponseError#response#body
property has a typestring
assuming it is unparsed json string, but it is parsed jsonCode Snippet
Exception/Log
Ideally, I would want
body
to be extensively typed like{body: {errors: {message: string, field: string, help?:string}[]}
Technical details:
The text was updated successfully, but these errors were encountered: