Overview

Namespaces

  • Baguette
    • Mastodon
      • Config
      • Entity
      • Grant
      • Service
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
  • Psr
    • Http
      • Message
  • Teto
    • Object

Interfaces

  • GuzzleException

Exceptions

  • BadResponseException
  • ClientException
  • ConnectException
  • RequestException
  • SeekException
  • ServerException
  • TooManyRedirectsException
  • TransferException
  • Overview
  • Namespace
  • Class

Class ConnectException

Exception thrown when a connection cannot be established.

Note that no response is present for a ConnectException

Exception implements Throwable
Extended by RuntimeException
Extended by GuzzleHttp\Exception\TransferException implements GuzzleHttp\Exception\GuzzleException
Extended by GuzzleHttp\Exception\RequestException
Extended by GuzzleHttp\Exception\ConnectException
Namespace: GuzzleHttp\Exception
Located at Exception/ConnectException.php
Methods summary
public
# __construct( $message, Psr\Http\Message\RequestInterface $request, Exception $previous = null, array $handlerContext = [] )

Overrides

GuzzleHttp\Exception\RequestException::__construct()
public null
# getResponse( )

Returns

null

Overrides

GuzzleHttp\Exception\RequestException::getResponse()
public boolean
# hasResponse( )

Returns

boolean

Overrides

GuzzleHttp\Exception\RequestException::hasResponse()
Methods inherited from GuzzleHttp\Exception\RequestException
create(), getHandlerContext(), getRequest(), getResponseBodySummary(), wrapException()
Methods inherited from Exception
__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties inherited from Exception
$code, $file, $line, $message
ξ ^ω^)ξ Baguette PHP Mastodon API Client / SDK API documentation generated by ApiGen