HH\Asio\WrappedException::getResult

Since this is a failed result wrapper, this always returns the exception thrown during the Awaitable operation

public function getResult(): Tr;

getResult() is the same as `getException() in this case.

Returns

  • Tr - The exception thrown during the Awaitable operation.