Passed
Push — master ( 8e03b4...59061c )
by Konstantin
02:28
created

UnknownRequestException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 3
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Phrlog\Zvonok\Exception;
4
5
use Throwable;
6
7
/**
8
 * Class UnknownRequestException
9
 */
10
class UnknownRequestException extends \RuntimeException
11
{
12
    public function __construct($message = "", $code = 0, Throwable $previous = null)
13
    {
14
        parent::__construct("Request with class $message not supported", $code, $previous);
15
    }
16
}
17