Documentation

BadResponseException extends RequestException
in package

Http request exception thrown when a bad response is received

Table of Contents

Properties

$request  : RequestInterface
$response  : Response

Methods

factory()  : BadResponseException
Factory method to create a new response exception based on the response code.
getRequest()  : RequestInterface
Get the request that caused the exception
getResponse()  : Response
Get the response that caused the exception
setRequest()  : RequestException
Set the request that caused the exception
setResponse()  : mixed
Set the response that caused the exception

Properties

Methods


        
On this page

Search results