ErrorCommandExecutable   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
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
namespace PHPJasper\Exception;
3
/**
4
 * Class ErrorCommandExecutable
5
 * @package PHPJasper\Exception
6
 */
7
class ErrorCommandExecutable extends \Exception
8
{
9
    public function __construct($message = "", $code = 0, Exception $previous = null)
0 ignored issues
show
Bug introduced by
The type PHPJasper\Exception\Exception was not found. Did you mean Exception? If so, make sure to prefix the type with \.
Loading history...
10
    {
11
        $message = 'Your report has an error and couldn \'t be processed!\ Try to output the command using the function `output();` and run it manually in the console.';
12
        parent::__construct($message, $code, $previous);
13
    }
14
}