Test Failed
Pull Request — master (#35)
by Davide
02:50
created

IpInfoException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 0
cts 4
cp 0
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 2
crap 2
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
    public function __construct($error, $fullMessage)
12
    {
13
        parent::__construct($error);
14
        $this->fullMessage = $fullMessage;
15
    }
16
}
17