await showFailureNotice(ctx, {
title: 'Choosing Random Book',
description: 'Picking a book on Amazon based on prefered genre.',
subtitle: t('failure.subtitle'),
text: t('failure.text', { err: err.message }),
buttons: [{
text: 'dismiss',
value: 'ok',
}],
});
await showFailureNotice(ctx, {
title: 'Fetching Data.',
description: 'We are gathering all needed data from your website.',
icon: 'close-circle-outline',
iconColor: 'red',
subtitle: '#subtitle',
text: 'The automation has failed at step Fetching Data',
buttons: [{
value: 'ok',
text: 'dismiss',
disabled: false,
}],
});
Generated using TypeDoc
Shows a failure notice in a bubble to the user.