Commit d55328cc by Taylor Otwell

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

Added a getInner method for retrieving the inner exception
parents 34165061 165da94a
......@@ -25,6 +25,16 @@ class Exception extends \Exception {
}
/**
* Get the inner exception.
*
* @return Exception
*/
public function getInner()
{
return $this->inner;
}
/**
* Set the exception message to include the SQL and bindings.
*
* @param string $sql
......
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