TransferException
extends CurlException
in package
implements
AwsExceptionInterface
Transfer request exception
Table of Contents
Interfaces
- AwsExceptionInterface
- "Marker Interface" implemented by every exception in the AWS SDK
Properties
- $request : RequestInterface
- $curlError : mixed
- $curlErrorNo : mixed
- $curlInfo : mixed
- $handle : mixed
Methods
- getCurlHandle() : CurlHandle|null
- Get the associated cURL handle
- getCurlInfo() : array<string|int, mixed>
- Returns curl information about the transfer
- getError() : string|null
- Get the associated cURL error message
- getErrorNo() : int|null
- Get the associated cURL error number
- getRequest() : RequestInterface
- Get the request that caused the exception
- setCurlHandle() : self
- Set the associated curl handle
- setCurlInfo() : self
- Set curl transfer information
- setError() : self
- Set the cURL error message
- setRequest() : RequestException
- Set the request that caused the exception
Properties
$request
protected
RequestInterface
$request
$curlError
private
mixed
$curlError
$curlErrorNo
private
mixed
$curlErrorNo
$curlInfo
private
mixed
$curlInfo
= array()
$handle
private
mixed
$handle
Methods
getCurlHandle()
Get the associated cURL handle
public
getCurlHandle() : CurlHandle|null
Return values
CurlHandle|nullgetCurlInfo()
Returns curl information about the transfer
public
getCurlInfo() : array<string|int, mixed>
Return values
array<string|int, mixed>getError()
Get the associated cURL error message
public
getError() : string|null
Return values
string|nullgetErrorNo()
Get the associated cURL error number
public
getErrorNo() : int|null
Return values
int|nullgetRequest()
Get the request that caused the exception
public
getRequest() : RequestInterface
Return values
RequestInterfacesetCurlHandle()
Set the associated curl handle
public
setCurlHandle(CurlHandle $handle) : self
Parameters
- $handle : CurlHandle
-
Curl handle
Return values
selfsetCurlInfo()
Set curl transfer information
public
setCurlInfo(array<string|int, mixed> $info) : self
Parameters
- $info : array<string|int, mixed>
-
Array of curl transfer information
Tags
Return values
selfsetError()
Set the cURL error message
public
setError(string $error, int $number) : self
Parameters
- $error : string
-
Curl error
- $number : int
-
Curl error number
Return values
selfsetRequest()
Set the request that caused the exception
public
setRequest(RequestInterface $request) : RequestException
Parameters
- $request : RequestInterface
-
Request to set