1: <?php
2: namespace Hyperwallet\Exception;
3:
4: /**
5: * The base exception for Hyperwallet SDK errors
6: *
7: * @package Hyperwallet\Exception
8: */
9: class HyperwalletException extends \Exception {
10:
11: /**
12: * Creates a instance of the HyperwalletException
13: *
14: * @param string $message The error message
15: * @param int $code The error code
16: * @param \Exception|null $previous The original exception
17: */
18: public function __construct($message = "", $code = 0, \Exception $previous = null) {
19: parent::__construct($message, $code, $previous);
20: }
21:
22: }
23: