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 <niels.keurentjes@omines.com>
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