Submit
Path:
~
/
/
opt
/
psa
/
admin
/
plib
/
vendor
/
php-http
/
httplug
/
src
/
Exception
/
File Content:
RequestException.php
<?php namespace Http\Client\Exception; use Psr\Http\Client\RequestExceptionInterface as PsrRequestException; use Psr\Http\Message\RequestInterface; /** * Exception for when a request failed, providing access to the failed request. * * This could be due to an invalid request, or one of the extending exceptions * for network errors or HTTP error responses. * * @author Márk Sági-Kazár <mark.sagikazar@gmail.com> */ class RequestException extends TransferException implements PsrRequestException { use RequestAwareTrait; /** * @param string $message */ public function __construct($message, RequestInterface $request, ?\Exception $previous = null) { $this->setRequest($request); parent::__construct($message, 0, $previous); } }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
HttpException.php
1608 bytes
0644
NetworkException.php
751 bytes
0644
RequestAwareTrait.php
378 bytes
0644
RequestException.php
788 bytes
0644
TransferException.php
263 bytes
0644
N4ST4R_ID | Naxtarrr