DirectAdminException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
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