Commit 165da94a by Dejan Geci

Added a getInner method for retrieving the inner exception

Signed-off-by: Dejan Geci <dejan.geci@gmail.com>
parent 790a5406
......@@ -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