Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Interfaces

  • HttpException

Exceptions

  • BadResponseException
  • ClientErrorResponseException
  • CouldNotRewindStreamException
  • CurlException
  • MultiTransferException
  • RequestException
  • ServerErrorResponseException
  • TooManyRedirectsException
  • Overview
  • Namespace
  • Class
  • Tree

Class CurlException

cURL request exception

Exception implements Throwable
Extended by RuntimeException
Extended by Guzzle\Common\Exception\RuntimeException implements Guzzle\Common\Exception\GuzzleException
Extended by Guzzle\Http\Exception\RequestException implements Guzzle\Http\Exception\HttpException
Extended by Guzzle\Http\Exception\CurlException
Namespace: Guzzle\Http\Exception
Located at src/Guzzle/Http/Exception/CurlException.php
Methods summary
public Guzzle\Http\Exception\CurlException
# setError( string $error, integer $number )

Set the cURL error message

Set the cURL error message

Parameters

$error
Curl error
$number
Curl error number

Returns

Guzzle\Http\Exception\CurlException
public Guzzle\Http\Exception\CurlException
# setCurlHandle( Guzzle\Http\Curl\CurlHandle $handle )

Set the associated curl handle

Set the associated curl handle

Parameters

$handle
Curl handle

Returns

Guzzle\Http\Exception\CurlException
public Guzzle\Http\Curl\CurlHandle|null
# getCurlHandle( )

Get the associated cURL handle

Get the associated cURL handle

Returns

Guzzle\Http\Curl\CurlHandle|null
public string|null
# getError( )

Get the associated cURL error message

Get the associated cURL error message

Returns

string|null
public integer|null
# getErrorNo( )

Get the associated cURL error number

Get the associated cURL error number

Returns

integer|null
public array
# getCurlInfo( )

Returns curl information about the transfer

Returns curl information about the transfer

Returns

array
public Guzzle\Http\Exception\CurlException
# setCurlInfo( array $info )

Set curl transfer information

Set curl transfer information

Parameters

$info
Array of curl transfer information

Returns

Guzzle\Http\Exception\CurlException

Link

http://php.net/manual/en/function.curl-getinfo.php
Methods inherited from Guzzle\Http\Exception\RequestException
getRequest(), setRequest()
Methods inherited from Exception
__construct(), __toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties inherited from Guzzle\Http\Exception\RequestException
$request
Properties inherited from Exception
$code, $file, $line, $message
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen