Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
GuzzleHttp\Promise\RejectionException Class Reference
Inheritance diagram for GuzzleHttp\Promise\RejectionException:
GuzzleHttp\Promise\AggregateException GuzzleHttp\Promise\CancellationException

Public Member Functions

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

Constructor & Destructor Documentation

◆ __construct()

GuzzleHttp\Promise\RejectionException::__construct ( $reason,
?string $description = null )
Parameters
mixed$reasonRejection reason.
string | null$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: