AuthFailed   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
dl 0
loc 5
rs 10
c 1
b 0
f 0
ccs 2
cts 2
cp 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 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
    }
21
}
22