DirectAdminException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
1
<?php
2
3
/*
4
 * DirectAdmin API Client
5
 * (c) Omines Internetbureau B.V. - https://omines.nl/
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Omines\DirectAdmin;
12
13
/**
14
 * Basic exception for issues arising in the client API.
15
 *
16
 * @author Niels Keurentjes <[email protected]>
17
 */
18
class DirectAdminException extends \RuntimeException
19
{
20
    /**
21
     * Construct the exception object.
22
     *
23
     * @param string $message The Exception message to throw
24
     * @param int $code The Exception code
25
     * @param \Exception|null $previous The previous exception used for the exception chaining. Since 5.3.0
26
     */
27
    public function __construct($message = '', $code = 0, \Exception $previous = null)
28
    {
29
        parent::__construct($message, $code, $previous);
30
    }
31
}
32