Documentation

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

Methods

getCurlInfo()

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|null

getErrorNo()

Get the associated cURL error number

public getErrorNo() : int|null
Return values
int|null

setError()

Set the cURL error message

public setError(string $error, int $number) : self
Parameters
$error : string

Curl error

$number : int

Curl error number

Return values
self

        
On this page

Search results