Completed
Push — master ( 67e168...53226a )
by Jean
02:28
created

UndefinedTargetClassException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php
2
/**
3
 * UndefinedTargetClassException
4
 *
5
 * @package php-deferred-callchain
6
 * @author  Jean Claveau
7
 */
8
namespace JClaveau\Async\Exceptions;
9
use       LogicException;
10
11
/**
12
 */
13
class UndefinedTargetClassException extends LogicException
14
{
15
    public function __construct($callchain, $expected_target)
16
    {
17
        $this->message = "The expected target of $callchain is neither a defined class nor a native type: ". $expected_target;
18
    }
19
    
20
    /**/
21
}
22