Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
GuzzleHttp\Promise\RejectionException Class Reference
Inheritance diagram for GuzzleHttp\Promise\RejectionException:
GuzzleHttp\Promise\AggregateException GuzzleHttp\Promise\CancellationException

Public Member Functions

 __construct ($reason, $description=null)
 
 getReason ()
 Returns the rejection reason.
 

Constructor & Destructor Documentation

◆ __construct()

GuzzleHttp\Promise\RejectionException::__construct ( $reason,
$description = null )
Parameters
mixed$reasonRejection reason.
string$descriptionOptional description

Member Function Documentation

◆ getReason()

GuzzleHttp\Promise\RejectionException::getReason ( )

Returns the rejection reason.

Return values
mixed

The documentation for this class was generated from the following file: