Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: