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 BadResponseException

Exception when an HTTP error occurs (4xx or 5xx error)

Exception implements Throwable
Extended by RuntimeException
Extended by GuzzleHttp\Exception\TransferException implements GuzzleHttp\Exception\GuzzleException
Extended by GuzzleHttp\Exception\RequestException
Extended by GuzzleHttp\Exception\BadResponseException

Direct known subclasses

GuzzleHttp\Exception\ClientException, GuzzleHttp\Exception\ServerException
Namespace: GuzzleHttp\Exception
Located at Exception/BadResponseException.php
Methods inherited from GuzzleHttp\Exception\RequestException
__construct(), create(), getHandlerContext(), getRequest(), getResponse(), getResponseBodySummary(), hasResponse(), 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