as you may all-ready know lastError is a global variable or property from chrome.runtime API used for determining if some error happened during the chrome API call
lastError