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.
1 parent 5717ed7 commit 7d88545Copy full SHA for 7d88545
http_client.rst
@@ -896,7 +896,7 @@ Handling Exceptions
896
897
When the HTTP status code of the response is in the 300-599 range (i.e. 3xx,
898
4xx or 5xx) your code is expected to handle it. If you don't do that, the
899
-``getHeaders()`` and ``getContent()`` methods throw an appropriate exception, all of
+``getHeaders()``, ``getContent()`` and ``toArray()`` methods throw an appropriate exception, all of
900
which implement the :class:`Symfony\\Contracts\\HttpClient\\Exception\\HttpExceptionInterface`::
901
902
// the response of this request will be a 403 HTTP error
0 commit comments