You are here

public function RejectionException::getReason in Lockr 7.3

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\Promise

Code

public function getReason() {
  return $this->reason;
}