NetworkException
extends TransferException
in package
implements
NetworkExceptionInterface
uses
RequestAwareTrait
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.
Tags
Table of Contents
Interfaces
- NetworkExceptionInterface
- Thrown when the request cannot be completed because of network issues.
Properties
Methods
- __construct() : mixed
- getRequest() : RequestInterface
- {@inheritdoc}
- setRequest() : mixed
Properties
$request
private
RequestInterface
$request
Methods
__construct()
public
__construct(string $message, RequestInterface $request[, Exception $previous = null ]) : mixed
Parameters
- $message : string
- $request : RequestInterface
- $previous : Exception = null
getRequest()
{@inheritdoc}
public
getRequest() : RequestInterface
Return values
RequestInterfacesetRequest()
private
setRequest(RequestInterface $request) : mixed
Parameters
- $request : RequestInterface