Copied!

Exception that is set as the reason for a promise that has been cancelled.

Instantiable
Methods
public GuzzleHttp\Promise\RejectionException::__construct( $reason, ?string $description = NULL)
 
  • param mixed $reason Rejection reason.
  • param string|null $description Optional description.
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 GuzzleHttp\Promise\RejectionException::getReason()
 

Returns the rejection reason.

  • return mixed
public final Exception::getTrace() : array
public final Exception::getTraceAsString() : string
Properties
protected Exception::$code = 0
protected string Exception::$file = ''
protected int Exception::$line = 0
protected Exception::$message = ''
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration