code: def handle_errors(response)
        if response.soap_fault?
          exception = exception_for_soap_fault(response)
          raise exception
        end
        if response.http_error?
          raise AdsCommon::Errors::HttpError,
              "HTTP Error occurred: %s" % response.http_error
        end
      end
docs: Checks for errors in response and raises appropriate exception.