AuthFailed::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

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
ccs 2
cts 2
cp 1
crap 1
1
<?php
2
/**
3
 * SocialConnect project
4
 * @author: Patsura Dmitry https://github.com/ovr <[email protected]>
5
 */
6
declare(strict_types=1);
7
8
namespace SocialConnect\Provider\Exception;
9
10
use Throwable;
11
12
/**
13
 * This exception is a base exception when we cannot auth user on callback url
14
 */
15
abstract class AuthFailed extends \SocialConnect\Common\Exception
16
{
17 24
    public function __construct($message = 'Auth failed', $code = 0, Throwable $previous = null)
18
    {
19 24
        parent::__construct($message, $code, $previous);
20 24
    }
21
}
22