Class yii\redis\SocketException

Inheritanceyii\redis\SocketException » yii\db\Exception
Available since extension's version2.0.7
Source Code https://github.com/yiisoft/yii2-redis/blob/master/src/SocketException.php

SocketException indicates a socket connection failure in yii\redis\Connection.

Public Methods

Hide inherited methods

Method Description Defined By
getName() yii\redis\SocketException

Method Details

Hide inherited methods

getName() public method

public string getName ( )
return string

The user-friendly name of this exception

                public function getName()
{
    return 'Redis Socket Exception';
}