Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: