PiwikException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * (c) Christian Gripp <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Core23\PiwikBundle\Exception;
13
14
final class PiwikException extends \Exception
15
{
16
    /**
17
     * @param string $message
18
     */
19
    public function __construct(string $message)
20
    {
21
        $message = 'Piwik API error: '.$message;
22
        parent::__construct($message);
23
    }
24
}
25