A special exception that is thrown when waiting on a rejected promise.
The reason value is available via the getReason() method.
Instantiable
- Extends
Exception RuntimeException - Children
- Implements
Stringable Throwable
Methods |
public __construct( $reason, ?string $description = NULL)
|
public getReason() Returns the rejection reason.
|
Properties |
Properties |
private $reason = NULL
|