Passed
Push — master ( 44ac55...cf05d8 )
by Teye
02:01 queued 35s
created

NetworkException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 3
dl 0
loc 6
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
namespace Level23\Dynadot\Exception;
4
5
use Exception;
6
use Throwable;
7
8
class NetworkException extends Exception
9
{
10 8
    public function __construct(
11
        string $message,
12
        int $code,
13
        ?Throwable $previous = null
14
    ) {
15 8
        parent::__construct($message, $code, $previous);
16
    }
17
}
18