Open Journal Systems  3.3.0
Http\Client\Exception\RequestException Class Reference
Inheritance diagram for Http\Client\Exception\RequestException:
Http\Client\Exception\TransferException Psr\Http\Client\RequestExceptionInterface Http\Client\Exception Psr\Http\Client\ClientExceptionInterface Psr\Http\Client\ClientExceptionInterface Http\Client\Exception\HttpException

Public Member Functions

 __construct ($message, RequestInterface $request, \Exception $previous=null)
 
- Public Member Functions inherited from Psr\Http\Client\RequestExceptionInterface
 getRequest ()
 

Additional Inherited Members

- Data Fields inherited from Http\Client\Exception
trait RequestAwareTrait
 

Detailed Description

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..nosp@m.sagi.nosp@m.kazar.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Definition at line 16 of file vendor/php-http/httplug/src/Exception/RequestException.php.

Constructor & Destructor Documentation

◆ __construct()

Http\Client\Exception\RequestException::__construct (   $message,
RequestInterface  $request,
\Exception  $previous = null 
)
Parameters
string$message
RequestInterface$request
\Exception | null$previous

Definition at line 25 of file vendor/php-http/httplug/src/Exception/RequestException.php.


The documentation for this class was generated from the following file: