class ServerException in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/guzzle/src/Exception/ServerException.php \GuzzleHttp\Exception\ServerException
Exception when a server error is encountered (5xx codes)
Hierarchy
- class \GuzzleHttp\Exception\TransferException extends \GuzzleHttp\Exception\RuntimeException implements GuzzleException
- class \GuzzleHttp\Exception\RequestException
- class \GuzzleHttp\Exception\BadResponseException
- class \GuzzleHttp\Exception\ServerException
- class \GuzzleHttp\Exception\BadResponseException
- class \GuzzleHttp\Exception\RequestException
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\ExceptionView source
class ServerException extends BadResponseException {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RequestException:: |
private | property | @var array | |
RequestException:: |
private | property | @var RequestInterface | |
RequestException:: |
private | property | @var ResponseInterface | |
RequestException:: |
public static | function | Factory method to create a new exception with a normalized error message | |
RequestException:: |
public | function | Get contextual information about the error from the underlying handler. | |
RequestException:: |
public | function | Get the request that caused the exception | |
RequestException:: |
public | function | Get the associated response | 1 |
RequestException:: |
public | function | Check if a response was received | 1 |
RequestException:: |
public static | function | Wrap non-RequestExceptions with a RequestException | |
RequestException:: |
public | function | 1 |