Copied!

A special exception that is thrown when waiting on a rejected promise.

The reason value is available via the getReason() method.

Instantiable
Methods
public __construct ( $reason , $description = NULL )
 
public Exception :: __toString () : string
public Exception :: __wakeup ()
public final Exception :: getCode ()
public final Exception :: getFile () : string
public final Exception :: getLine () : int
public final Exception :: getMessage () : string
public final Exception :: getPrevious () : ? Throwable
public getReason ()
 

Returns the rejection reason.

  • return mixed
public final Exception :: getTrace () : array
public final Exception :: getTraceAsString () : string
Properties
protected Exception :: $code
protected Exception :: $file
protected Exception :: $line
protected Exception :: $message
Properties
private $reason
 
  • var mixed Rejection reason.
© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration