|
@@ -24,6 +24,16 @@ class Exception extends \Exception {
|
|
$this->setMessage($sql, $bindings);
|
|
$this->setMessage($sql, $bindings);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Get the inner exception.
|
|
|
|
+ *
|
|
|
|
+ * @return Exception
|
|
|
|
+ */
|
|
|
|
+ public function getInner()
|
|
|
|
+ {
|
|
|
|
+ return $this->inner;
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* Set the exception message to include the SQL and bindings.
|
|
* Set the exception message to include the SQL and bindings.
|
|
*
|
|
*
|