Passed
Push — discord-provider ( 0e4f76 )
by AD
03:05
created

AuthFailed   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 5
ccs 0
cts 3
cp 0
rs 10
c 1
b 0
f 0
wmc 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
    public function __construct($message = 'Auth failed', $code = 0, Throwable $previous = null)
18
    {
19
        parent::__construct($message, $code, $previous);
20
    }
21
}
22