We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f47f94 + 41a502c commit 50b4991Copy full SHA for 50b4991
http_client.rst
@@ -923,7 +923,7 @@ Handling Exceptions
923
924
When the HTTP status code of the response is in the 300-599 range (i.e. 3xx,
925
4xx or 5xx) your code is expected to handle it. If you don't do that, the
926
-``getHeaders()`` and ``getContent()`` methods throw an appropriate exception, all of
+``getHeaders()``, ``getContent()`` and ``toArray()`` methods throw an appropriate exception, all of
927
which implement the :class:`Symfony\\Contracts\\HttpClient\\Exception\\HttpExceptionInterface`::
928
929
// the response of this request will be a 403 HTTP error
0 commit comments