Documentation

ServerErrorResponseException extends BadResponseException
in package

Exception when a server error is encountered (5xx 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

Loading…
On this page

Search results