WhatsApp PHP

RequestException extends Exception
in package

WhatsApp PHP Request exception.

Tags
author

Gabriel Silva

license

MIT

Table of Contents

Properties

$details  : string|null
Exception details, if any.

Methods

__construct()  : mixed
Constructs the exception.
getDetails()  : string|null
Returns the exception details, if any.

Properties

Methods

__construct()

Constructs the exception.

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

(Optional) Exception message.

$code : int = 0

(Optional) Exception error code.

$details : string|null = null

(Optional) Exception details.

$previous : Throwable|null = null

(Optional) The previous throwable used for the exception chaining.

getDetails()

Returns the exception details, if any.

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

Returns the details.


        
On this page

Search results