PHP PSR

ClientException extends Exception
in package
implements ClientExceptionInterface

Every HTTP client related exception MUST implement this interface.

Table of Contents

Interfaces

ClientExceptionInterface

Properties

$request  : RequestInterface

Methods

__construct()  : mixed
Client exception construction.

Properties

Methods

__construct()

Client exception construction.

public __construct(RequestInterface $request[, string $message = '' ][, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
$request : RequestInterface

Client request

$message : string = ''

The exception message

$code : int = 0

The exception code

$previous : Throwable|null = null

Previous throwable


        
On this page

Search results