Unsupported::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 3
rs 10
c 1
b 0
f 0
1
<?php
2
/**
3
 * SocialConnect project
4
 * @author: Patsura Dmitry https://github.com/ovr <[email protected]>
5
 */
6
7
namespace SocialConnect\Common\Exception;
8
9
use Throwable;
10
11
class Unsupported extends \SocialConnect\Common\Exception
12
{
13
    /**
14
     * @param string $message
15
     * @param int $code
16
     * @param Throwable|null $previous
17
     */
18
    public function __construct($message = 'Unsupported functionality', $code = 0, ?Throwable $previous = null)
19
    {
20
        parent::__construct($message, $code, $previous);
21
    }
22
}
23