File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 66use Psr \Http \Message \ResponseInterface ;
77
88/**
9- * Thrown when both a request and a response are available
9+ * Thrown when a response was received but has an error status code.
10+ *
11+ * This exception always provides the request and response objects.
1012 *
1113 * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
1214 */
Original file line number Diff line number Diff line change 55use Psr \Http \Message \RequestInterface ;
66
77/**
8- * Thrown when a request is available
8+ * Base exception for when a request failed.
9+ *
10+ * This can be because of network problems or the status code of the response.
911 *
1012 * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
1113 */
Original file line number Diff line number Diff line change 33namespace Http \Client \Exception ;
44
55/**
6- * Thrown when an error related to sending/receiving the request/response occurs
6+ * Base exception for all php-http exceptions.
77 *
88 * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
99 */
You can’t perform that action at this time.
0 commit comments