You are here

class ServerException in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/guzzlehttp/guzzle/src/Exception/ServerException.php \GuzzleHttp\Exception\ServerException

Exception when a server error is encountered (5xx codes)

Hierarchy

Expanded class hierarchy of ServerException

2 files declare their use of ServerException
BrowserBase.php in vendor/jcalderonzumba/gastonjs/src/Browser/BrowserBase.php
Middleware.php in vendor/guzzlehttp/guzzle/src/Middleware.php

File

vendor/guzzlehttp/guzzle/src/Exception/ServerException.php, line 7

Namespace

GuzzleHttp\Exception
View source
class ServerException extends BadResponseException {

}

Members

Namesort descending Modifiers Type Description Overrides
RequestException::$handlerContext private property @var array
RequestException::$request private property @var RequestInterface
RequestException::$response private property @var ResponseInterface
RequestException::create public static function Factory method to create a new exception with a normalized error message
RequestException::getHandlerContext public function Get contextual information about the error from the underlying handler.
RequestException::getRequest public function Get the request that caused the exception
RequestException::getResponse public function Get the associated response 1
RequestException::hasResponse public function Check if a response was received 1
RequestException::wrapException public static function Wrap non-RequestExceptions with a RequestException
RequestException::__construct public function 1