{
"type": "askUser",
"params": {
"title": "An error occured",
"message": "Do you want to report the error?",
"isCancelable": true,
"onCancel": "nothingPicked",
"buttons": [
"Yes",
"No"
],
"actions": [
[
{
"type": "backInHistory",
"params": {
"steps": "-1"
}
},
{
"type": "mailTo",
"params": {
"to": "support@mail.com",
"subject": "Feedback: Error report",
"content": ""
}
}
],
[
{
"type": "backInHistory",
"params": {
"steps": "-1"
}
}
]
]
}
}