GenerateDirectoryNotWriteable   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 13
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
declare(strict_types=1);
3
4
5
namespace Xervice\DataProvider\Business\Exception;
6
7
use Xervice\Core\Business\Exception\XerviceException;
8
9
class GenerateDirectoryNotWriteable extends XerviceException
10
{
11
    /**
12
     * GenerateDirectoryNotWriteable constructor.
13
     *
14
     * @param string $message
15
     * @param int $code
16
     * @param \Throwable|null $previous
17
     */
18
    public function __construct(string $message = '', int $code = 0, \Throwable $previous = null)
19
    {
20
        $message = 'Generate directory is not writeable: ' . $message;
21
        parent::__construct($message, $code, $previous);
22
    }
23
24
}