Commit d55328cc authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #1320 from dejangeci/feature/dbexception-inner

Added a getInner method for retrieving the inner exception
parents 34165061 165da94a
......@@ -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