Passed
Push — master ( 5779d7...0ea5da )
by Davide
47s
created

IpInfoException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
namespace DavidePastore\Ipinfo\Exception;
3
4
/**
5
 * IpInfo generic exception.
6
 */
7
class IpInfoException extends \Exception
8
{
9
    private $fullMessage;
10
11 2
    public function __construct($error, $fullMessage)
12
    {
13 2
        parent::__construct($error);
14 2
        $this->fullMessage = $fullMessage;
15 2
    }
16
}
17