       ("UnknownExtraConf"
        (ycmd--handle-extra-conf-exception .exception.extra_conf_file))
       ((or "ValueError" "RuntimeError")
-       (ycmd--handle-error-exception .message))))
-  (run-hook-with-args 'ycmd-after-exception-hook request-type result))
+       (ycmd--handle-error-exception .message)))))
 
 (defun ycmd--send-request (type success-handler)
   "Send a request of TYPE to the `ycmd' server.

Otherwise the response is probably an exception."
  (if (and (not (vectorp results))
           (assq 'exception results))
      (ycmd--handle-exception "NotifyParse" results)
    (ycmd--report-status 'parsed)
    (run-hook-with-args 'ycmd-file-parse-result-hook results)))


       :parser 'json-read
       :sync sync))))

(defun ycmd--handle-exception (result)
  "Handle exception in completion RESULT.

This function handles `UnknownExtraConf', `ValueError' and
`RuntimeError' exceptions."
