BatchException
extends TransferException
in package
FinalYes
This exception is thrown when HttpClient::sendRequests led to at least one failure.
It gives access to a BatchResult with the request-exception and request-response pairs.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- getResult() : BatchResult
- Returns the BatchResult that contains all responses and exceptions.
Properties
$result
private
BatchResult
$result
Methods
__construct()
public
__construct(BatchResult $result) : mixed
Parameters
- $result : BatchResult
getResult()
Returns the BatchResult that contains all responses and exceptions.
public
getResult() : BatchResult