Completed
Pull Request — master (#12)
by
unknown
01:57
created

Tx_Asdis_Api_Exception_NotEnabledException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 11
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A NotEnabledException::__construct() 0 4 1
1
<?php
2
namespace Aoe\Asdis\Api\Exception;
3
4
class NotEnabledException extends Exception
5
{
6
    /**
7
     * @param integer $code
8
     * @param Exception|null $previous
9
     */
10
    public function __construct($code = 0, Exception $previous = null)
11
    {
12
        parent::__construct('asdis is not enabled at the moment', $code, $previous);
13
    }
14
}