RedisException::getName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * @author: jiangyi
5
 * @date: 下午10:05 2018/12/13
6
 */
7
8
namespace EasyRedis\Exceptions;
9
10
use Throwable;
11
12
class RedisException extends \Exception
13
{
14
    public $errorInfo = [];
15
16
    public function __construct($message = "", $errorInfo = [], $code = 0, Throwable $previous = null)
17
    {
18
        parent::__construct($message, $code, $previous);
19
    }
20
21
    public function getName()
22
    {
23
        return 'Exception';
24
    }
25
}
26