A custom error that can be persisted
Usage:
const err = new ChromeLastError(title, message);
Create a new LastError
Error parameters
Title for error
Get the LastError from chrome.storage.local
If we failed to get the error
A ChromeLastError
Set the LastError to an empty message in chrome.storage.local
If the error failed to clear
Save the LastError to chrome.storage.local
If the error failed to save
Generated using TypeDoc
A custom error that can be persisted
Usage:
const err = new ChromeLastError(title, message);