Kraken\Channel\Protocol\ProtocolInterface::setException PHP Метод

setException() публичный Метод

This method sets exception only if it was not set already. To force replacement $reassing flag needs to be set to true.
public setException ( string $exception, boolean $reassign = false ) : Kraken\Channel\Protocol\ProtocolInterface
$exception string
$reassign boolean
Результат Kraken\Channel\Protocol\ProtocolInterface
    public function setException($exception, $reassign = false);