Documentation

HttpException extends RequestException
in package

Thrown when a response was received but the request itself failed.

In addition to the request, this exception always provides access to the response object.

Tags
author

Márk Sági-Kazár mark.sagikazar@gmail.com

Table of Contents

Properties

$response  : ResponseInterface
$request  : RequestInterface

Methods

__construct()  : mixed
create()  : mixed
Factory method to create a new exception with a normalized error message.
getRequest()  : RequestInterface
{@inheritdoc}
getResponse()  : ResponseInterface
Returns the response.
setRequest()  : mixed

Properties

Methods


        
On this page

Search results