Passed
Push — master ( c2faf8...afa411 )
by Al3x
11:51
created

NotFoundException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 2
c 1
b 0
f 1
dl 0
loc 5
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace InvoiceNinjaModule\Exception;
5
6
/**
7
 * Class NotFoundException
8
 */
9
class NotFoundException extends \Exception
10
{
11 6
    public function __construct($message = '', $code = 0, \Exception $previous = null)
12
    {
13 6
        parent::__construct('Object with id: '.$message.' not found!', $code, $previous);
14 6
    }
15
}
16