ClientHttpException
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.
- Full name:
\Sabre\HTTP\ClientHttpException
- Parent class:
Exception
- This class implements:
\Sabre\HTTP\HttpException
Properties
response
Response object.
Methods
__construct
Constructor.
Parameters:
Parameter | Type | Description |
---|---|---|
$response |
\Sabre\HTTP\ResponseInterface |
getHttpStatus
The http status code for the error.
getResponse
Returns the full response object.
Automatically generated on 2025-03-18