Idem - those cases should actually be handled by the `if 'error' in response` - if an unexpected structure is sent back, it will return the standard error message, as this should not happen without a bug in the googletranslate library or from the API answer.