HH\Asio\WrappedException
Represents the result of failed Awaitable
operation
Interface Synopsis
namespace HH\Asio;
final class WrappedException implements ResultOrExceptionWrapper<Tr> {...}
Public Methods
->__construct(Te $exception)
Instantiate aWrappedException
->getException(): Te
Since this is a failed result wrapper, this always returns the exception thrown during theAwaitable
operation->getResult(): Tr
Since this is a failed result wrapper, this always returns the exception thrown during theAwaitable
operation->isFailed(): bool
Since this is a failed result wrapper, this always returnstrue
->isSucceeded(): bool
Since this is a failed result wrapper, this always returnsfalse