File tree Expand file tree Collapse file tree 4 files changed +2
-6
lines changed Expand file tree Collapse file tree 4 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 99 */
1010interface Exception
1111{
12-
1312}
Original file line number Diff line number Diff line change 44
55use Http \Client \BatchResult ;
66use Http \Client \Exception ;
7- use Psr \Http \Message \RequestInterface ;
87
98/**
109 * This exception is thrown when a batch of requests led to at least one failure.
1110 *
1211 * It holds the response/exception pairs and gives access to a BatchResult with the successful responses.
1312 *
14- * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
13+ * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
1514 */
1615final class BatchException extends \RuntimeException implements Exception
1716{
Original file line number Diff line number Diff line change 77/**
88 * Base exception for when a request failed.
99 *
10- * This can be because of network problems or the status code of the response.
11- *
1210 * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
1311 */
1412class RequestException extends TransferException
Original file line number Diff line number Diff line change 55use Http \Client \Exception ;
66
77/**
8- * Base exception for all php-http exceptions.
8+ * Base exception for transfer related exceptions.
99 *
1010 * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
1111 */
You can’t perform that action at this time.
0 commit comments