Add LastError interface

Add LastError interface

https://developer.chrome.com/extensions/extension#property-lastError
https://developer.chrome.com/extensions/runtime#property-lastError