Completed
Push — master ( 39abe4...b867be )
by Richard
02:31
created

RunException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 3
1
<?php
2
namespace Transphporm;
3
class RunException extends \Exception {
4
    public function __construct($operationType, $operationName, \Exception $previous) {
5
        $message = 'TSS Error: Problem carrying out ' . $operationType . ' \'' . $operationName . '\'';
6
7
        parent::__construct($message, 0, $previous);
8
    }
9
}
10