Completed
Push — master ( b4d6a5...352f6d )
by Basil
02:42
created

Exception::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace luya;
4
5
/**
6
 * LUYA base exception.
7
 *
8
 * Exception wrapper for {{yii\base\Exception}}, represents a generic exception for all purposes.
9
 *
10
 * @author Basil Suter <[email protected]>
11
 * @since 1.0.0
12
 */
13
class Exception extends \yii\base\Exception
14
{
15
    /**
16
     * @return string The user-friendly name of this exception.
17
     */
18
    public function getName()
19
    {
20
        return 'LUYA Exception';
21
    }
22
}
23