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

AuthFailed::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 3
ccs 0
cts 3
cp 0
crap 2
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
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