From 793a736a8fabf3f7656e2c2dc54861180c4ae783 Mon Sep 17 00:00:00 2001 From: "Howard M. Lewis Ship" Date: Tue, 11 Jun 2024 10:14:23 -0700 Subject: [PATCH] Tweak documentation on function --- src/clj_github/httpkit_client.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/clj_github/httpkit_client.clj b/src/clj_github/httpkit_client.clj index 38ef50d..1d35367 100644 --- a/src/clj_github/httpkit_client.clj +++ b/src/clj_github/httpkit_client.clj @@ -36,9 +36,9 @@ :path - used to create the :url key for HTTP kit; this is the path relative to https://api.github.com. - :throw? - if true (the default), then non-success status codes result in a thrown exception. - If set to false, then the response is returned, regardless and the caller can decide what to do - with failure statuses." + :throw? - if true (the default), then non-success status codes (codes outside the range of 200 to 204) + result in a thrown exception. If set to false, then the response is returned, regardless and the + caller can decide what to do with failure statuses." [client req-map] (let [{:keys [throw?] :or {throw? true}} req-map