src/Call/Event/CallEventFactory.php
public function createReceivedException(
        Throwable $exception
    ): ReceivedExceptionEvent {
        return new ReceivedExceptionEvent(
            $this->sequencer->next(),
            $this->clock->time(),
            $exception
        );
    }
public function createReceivedException(
        Throwable $exception
    ): ReceivedExceptionEvent {
        return new ReceivedExceptionEvent(
            $this->sequencer->next(),
            $this->clock->time(),
            $exception
        );
    }
public function createReceivedException ( Throwable $ exception ) : ReceivedExceptionEvent { return new ReceivedExceptionEvent ( $ this -> sequencer -> next ( ) , $ this -> clock -> time ( ) , $ exception ) ; }
Create a new 'received exception' event.

@param Throwable $exception The received exception.

@return ReceivedExceptionEvent The newly created event.
Create a new received exception event .