Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($reason, $description=null) | |
getReason () | |
A special exception that is thrown when waiting on a rejected promise.
The reason value is available via the getReason() method.
Definition at line 9 of file RejectionException.php.
GuzzleHttp\Promise\RejectionException::__construct | ( | $reason, | |
$description = null |
|||
) |
mixed | $reason | Rejection reason. |
string | $description | Optional description |
Definition at line 21 of file RejectionException.php.
References GuzzleHttp\json_encode().
GuzzleHttp\Promise\RejectionException::getReason | ( | ) |
Returns the rejection reason.
Definition at line 46 of file RejectionException.php.
Referenced by GuzzleHttp\Promise\inspect().