Class BadResponseException
Http request exception thrown when a bad response is received
- Exception implements Throwable
- RuntimeException
- Guzzle\Common\Exception\RuntimeException implements Guzzle\Common\Exception\GuzzleException
- Guzzle\Http\Exception\RequestException implements Guzzle\Http\Exception\HttpException
- Guzzle\Http\Exception\BadResponseException
Direct known subclasses
Guzzle\Http\Exception\ClientErrorResponseException, Guzzle\Http\Exception\ServerErrorResponseException, Guzzle\Http\Exception\TooManyRedirectsException
public static
|
#
factory(
Factory method to create a new response exception based on the response code. |
public
|
|
public
|
getRequest(),
setRequest()
|
__construct(),
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
$request
|
$code,
$file,
$line,
$message
|