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 8b582af commit 2a26ef0Copy full SHA for 2a26ef0
src/Exception/HttpClientException.php
@@ -80,23 +80,4 @@ public function setResponse(ResponseInterface $response = null)
80
{
81
$this->response = $response;
82
}
83
-
84
- /**
85
- * @param string $uri
86
- * @param string $adapterName
87
- * @param \Exception|null $previous
88
- */
89
- public static function cannotFetchUri($uri, $adapterName, \Exception $previous = null)
90
- {
91
- $message = sprintf(
92
- 'An error occurred when fetching the URI "%s" with the adapter "%s" ("%s").',
93
- $uri,
94
- $adapterName,
95
- isset($previous) ? $previous->getMessage() : ''
96
- );
97
98
- $code = isset($previous) ? $previous->getCode() : 0;
99
100
- return new self($message, $code, $previous);
101
- }
102
0 commit comments