HumHub Documentation (unofficial)

ClientErrorResponseException extends InvalidResponseException
in package

ClientErrorResponseException represents an exception caused by a "client error" server response status code (4xx).

Tags
since
2.2.15

Table of Contents

Properties

$response  : Response

Methods

__construct()  : mixed
Constructor.
getName()  : string

Properties

Methods

__construct()

Constructor.

public __construct(Response $response[, string $message = null ][, int $code = 0 ][, Exception $previous = null ]) : mixed
Parameters
$response : Response

response body

$message : string = null

error message

$code : int = 0

error code

$previous : Exception = null

The previous exception used for the exception chaining.

getName()

public getName() : string
Return values
string

the user-friendly name of this exception


        
On this page

Search results