Add LastError interface
Merge pull request #2596 from pine613/feature/chrome/lastError

Add LastError interface