Passed
Push — develop ( 17d28b...65dc06 )
by Manuele
01:39
created

NuVotifierServerErrorException::__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
c 1
b 0
f 0
nc 1
nop 3
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
1
<?php
2
3
/**
4
 * Votifier PHP Client
5
 *
6
 * @package   VotifierClient
7
 * @author    Manuele Vaccari <[email protected]>
8
 * @copyright Copyright (c) 2017-2020 Manuele Vaccari <[email protected]>
9
 * @license   https://github.com/D3strukt0r/votifier-client-php/blob/master/LICENSE.txt GNU General Public License v3.0
10
 * @link      https://github.com/D3strukt0r/votifier-client-php
11
 */
12
13
namespace D3strukt0r\VotifierClient\Exception;
14
15
use Exception;
16
17
/**
18
 * Class NuVotifierServerErrorException
19
 * Votifier server error: {0}: {1}.
20
 */
21
class NuVotifierServerErrorException extends Exception
22
{
23
    public function __construct(string $message, int $code = 0, Exception $previous = null)
24
    {
25
        parent::__construct($message, $code, $previous);
26
    }
27
}
28