protected throwAndEmitException ( Erro\Error | Exceptio\Exception $ex ) : null | ||
$ex | Erro\Error | Exceptio\Exception | |
return | null |
protected function throwAndEmitException($ex)
{
$this->emit('error', [$this, $ex]);
throw $ex;
}