]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Include invalid url exception in docs (#1166)
authorTom Christie <tom@tomchristie.com>
Tue, 11 Aug 2020 16:14:12 +0000 (17:14 +0100)
committerGitHub <noreply@github.com>
Tue, 11 Aug 2020 16:14:12 +0000 (17:14 +0100)
* Advanced transport docs

* Include InvalidURL in exception docs

* Update docs/exceptions.md

Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
docs/exceptions.md

index f3ea4c0891bab5979bdc36301c64df1b0c803b92..7cbddf5dbaf26e3adcd93b697005aab13811e0d3 100644 (file)
@@ -76,6 +76,7 @@ except httpx.HTTPStatusError as exc:
         * TooManyRedirects
         * RequestBodyUnavailable
     * HTTPStatusError
+* InvalidURL
 * NotRedirectResponse
 * CookieConflict
 * StreamError
@@ -154,6 +155,9 @@ except httpx.HTTPStatusError as exc:
 ::: httpx.HTTPStatusError
     :docstring:
 
+::: httpx.InvalidURL
+    :docstring:
+
 ::: httpx.NotRedirectResponse
     :docstring: