Commit 165da94a authored by Dejan Geci's avatar Dejan Geci

Added a getInner method for retrieving the inner exception

Signed-off-by: 's avatarDejan Geci <dejan.geci@gmail.com>
parent 790a5406
......@@ -24,6 +24,16 @@ class Exception extends \Exception {
$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.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment