Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
function showErrorDialog() {
var errorOptions = {
details: "This is simply the message that can be downloaded by clickick 'Download log file'",
errorCode: 666, //this is error code if you want to show some specific one. If you specify invalid code or none, the default error code wouldbe displayed
message: "Message show in the dialog"
success => {
console.log("Dialog was closed successfully");
error => {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment