public function RejectionException::getReason in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/promises/src/RejectionException.php \GuzzleHttp\Promise\RejectionException::getReason()
Returns the rejection reason.
Return value
mixed
File
- vendor/
guzzlehttp/ promises/ src/ RejectionException.php, line 43
Class
- RejectionException
- A special exception that is thrown when waiting on a rejected promise.
Namespace
GuzzleHttp\PromiseCode
public function getReason() {
return $this->reason;
}