Class Guzzle\Http\Exception\ClientErrorResponseException

InheritanceGuzzle\Http\Exception\ClientErrorResponseException » Guzzle\Http\Exception\BadResponseException » Guzzle\Http\Exception\RequestException » Guzzle\Common\Exception\RuntimeException » RuntimeException
ImplementsGuzzle\Common\Exception\GuzzleException, Guzzle\Http\Exception\HttpException

Exception when a client error is encountered (4xx codes)

Public Methods

Hide inherited methods

MethodDescriptionDefined By
factory() Factory method to create a new response exception based on the response code. Guzzle\Http\Exception\BadResponseException
getRequest() Get the request that caused the exception Guzzle\Http\Exception\RequestException
getResponse() Get the response that caused the exception Guzzle\Http\Exception\BadResponseException
setRequest() Set the request that caused the exception Guzzle\Http\Exception\RequestException
setResponse() Set the response that caused the exception Guzzle\Http\Exception\BadResponseException