public function handleWebSocketError($e)
    {
        $this->logger->error('error with voice websocket', ['e' => $e->getMessage()]);
        $this->emit('error', [$e]);
    }
public function handleWebSocketError($e)
    {
        $this->logger->error('error with voice websocket', ['e' => $e->getMessage()]);
        $this->emit('error', [$e]);
    }
public function handleWebSocketError ( $ e ) { $ this -> logger -> error ( 'error with voice websocket' , [ 'e' => $ e -> getMessage ( ) ] ) ; $ this -> emit ( 'error' , [ $ e ] ) ; }
Handles a WebSocket error.

@param \Exception $e The error.

@return void
Handles a WebSocket error .