AuthenticationIncorrectParameters::__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
 * AuthenticationIncorrectParameters
4
 */
5
6
namespace Twigger\UnionCloud\API\Exception\Authentication;
7
8
use Throwable;
9
10
/**
11
 * Class AuthenticationIncorrectParameters
12
 * @package Twigger\UnionCloud\API\Exceptions
13
 */
14
class AuthenticationIncorrectParameters extends UnionCloudResponseAuthenticationException
15
{
16
17
    /**
18
     * AuthenticationIncorrectParameters constructor.
19
     *
20
     * @param string $message
21
     * @param int $code
22
     * @param Throwable|null $previous
23
     * @param int $unionCloudCode
24
     * @param string $unionCloudMessage
25
     */
26
    public function __construct($message='Authentication details incorrect', $code=401, Throwable $previous = null, $unionCloudCode = 0, $unionCloudMessage='')
27
    {
28
        parent::__construct($message, $code, $previous, $unionCloudCode, $unionCloudMessage);
29
    }
30
31
}