🚀 Launch Week Day 2:Introducing Custom Tabs for Org Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

error-dialog

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

error-dialog

Display an error in a GUI dialog

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

error-dialog Build Status

Display an error in a GUI dialog

macOS only, but pull request welcome for Linux and Windows support.

Install

$ npm install --save error-dialog

Usage

const errorDialog = require('error-dialog');
const error = new Error('Expected more unicorns!');

errorDialog(error, '🦄');

API

errorDialog(error, [windowTitle])

Returns a Promise.

error

Type: Error string

Error object or message.

windowTitle

Type: string

  • cocoa-dialog - Display common GUI dialogs on macOS

License

MIT © Sindre Sorhus

Keywords

error

FAQs

Package last updated on 02 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts