Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
showError(err) { electron.dialog.showErrorBox(`Error in plugin ${this.pluginName}`, ensureError(err).stack); }
Ensures a value is a valid error by making it one if not