Documentation

ClientHttpException extends Exception
in package
implements HttpException

This exception represents a HTTP error coming from the Client.

By default the Client will not emit these, this has to be explicitly enabled with the setThrowExceptions method.

Tags
copyright

Copyright (C) fruux GmbH (https://fruux.com/)

author

Evert Pot (http://evertpot.com/)

license

http://sabre.io/license/ Modified BSD License

Interfaces, Classes and Traits

HttpException
An exception representing a HTTP error.

Table of Contents

$response  : ResponseInterface
Response object.
__construct()  : mixed
Constructor.
getHttpStatus()  : string|null
The http status code for the error.
getResponse()  : ResponseInterface
Returns the full response object.

Properties

Methods

getHttpStatus()

The http status code for the error.

public getHttpStatus() : string|null
Return values
string|null

Search results