docs: def expect_invalid_resp_data(data=''):
      """Catch exceptions when using zvm client response data."""
      try:
          yield
      except (ValueError, TypeError, IndexError, AttributeError,
              KeyError) as err:
          msg = ('Invalid smt response data: %s. Error: %s' %
                 (data, six.text_type(err)))
          LOG.error(msg)
          raise exception.SDKInternalError(msg=msg)