Documentation

ClientErrorResponseException extends BadResponseException
in package

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

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