Open Monograph Press  3.3.0
Http\Client\Exception\NetworkException Class Reference
Inheritance diagram for Http\Client\Exception\NetworkException:
Http\Client\Exception\TransferException Psr\Http\Client\NetworkExceptionInterface Http\Client\Exception Psr\Http\Client\ClientExceptionInterface Psr\Http\Client\ClientExceptionInterface

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Thrown when the request cannot be completed because of network issues.

There is no response object as this exception is thrown when no response has been received.

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 15 of file php-http/httplug/src/Exception/NetworkException.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 24 of file php-http/httplug/src/Exception/NetworkException.php.


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