3 namespace Zumba\GastonJS\Exception;
7 * @package Zumba\GastonJS\Exception
19 public function __construct($message, $stack) {
20 $this->message = $message;
21 $this->stack = $stack;
25 * String representation of the class
28 public function __toString() {
29 return sprintf("%s\n%s", $this->message, $this->stack);