We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31bdfc2 commit 7abb08cCopy full SHA for 7abb08c
docs/api/dialog.md
@@ -83,3 +83,10 @@ the index of the clicked button.
83
84
If a `callback` is passed, the API call would be asynchronous and the result
85
would be passed via `callback(response)`
86
+
87
+## dialog.showErrorBox(title, content)
88
89
+Runs a modal dialog that shows an error message.
90
91
+This API can be called safely before the `ready` event of `app` module emits, it
92
+is usually used to report errors in early stage of startup.
0 commit comments