PhpSandbox\PHPSandbox::getLastException PHP Method

getLastException() public method

Gets the last exception thrown by the sandbox
public getLastException ( ) : Exception | Error
return Exception | Error
    public function getLastException()
    {
        return $this->last_exception;
    }
PHPSandbox