HH\Asio\ResultOrExceptionWrapper::isFailed

Indicates whether the Awaitable associated with this wrapper exited abnormally via an exception of somoe sort

public function isFailed(): bool;

If isFailed() returns true, isSucceeded() returns false.

Returns

  • bool - true if the Awaitable failed; false otherwise.