Function exception_for
Create an exception for a rejected promise value.
Namespace: GuzzleHttp\Promise
Deprecated: exception_for will be removed in guzzlehttp/promises:2.0. Use Create::exceptionFor instead.
Located at functions.php
Deprecated: exception_for will be removed in guzzlehttp/promises:2.0. Use Create::exceptionFor instead.
Located at functions.php
Parameters summary
mixed |
$reason |
Return value summary
Exception|Throwable
|
\Exception|\Throwable |