MCPcopy Create free account
hub / github.com/mailvelope/mailvelope / onDecryptFailed

Function onDecryptFailed

src/components/editor/editor.js:328–335  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

326 }
327
328 onDecryptFailed(msg) {
329 const error = {
330 title: l10n.map.waiting_dialog_decryption_failed,
331 message: (msg.error) ? msg.error.message : l10n.map.waiting_dialog_decryption_failed,
332 type: 'error'
333 };
334 this.showNotification(error);
335 }
336
337 onErrorMessage(msg) {
338 if (msg.error.code === 'PWD_DIALOG_CANCEL') {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected