HH\Asio\WrappedException::getResult

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

Description

public function getResult(): Tr

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

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

Return Values

  • Tr - The exception thrown during the Awaitable operation.