AuthenticatorNotFound::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 5
1
<?php
2
/**
3
 * AuthenticatorNotFound
4
 */
5
6
namespace Twigger\UnionCloud\API\Exception\Authentication;
7
8
use Throwable;
9
10
/**
11
 * Class AuthenticatorNotFound
12
 *
13
 * @package Twigger\UnionCloud\API\Exceptions
14
 */
15
class AuthenticatorNotFound extends BaseUnionCloudAuthenticationException
16
{
17
18
    /**
19
     * AuthenticatorNotFound constructor.
20
     *
21
     * @param string $message
22
     * @param int $code
23
     * @param Throwable|null $previous
24
     * @param int $unionCloudCode
25
     * @param string $unionCloudMessage
26
     */
27
    public function __construct($message='No authenticator supplied', $code=401, Throwable $previous = null, $unionCloudCode = 0, $unionCloudMessage='')
28
    {
29
        parent::__construct($message, $code, $previous, $unionCloudCode, $unionCloudMessage);
30
    }
31
32
}