onerror event

Deprecated.Fires when the current cryptographic operation encounters an error.

Warning  As of Microsoft Edge, event callbacks have been replaced by Promise-based resolve and reject operations. See Web Cryptography API updates for more info.
IE11

 

Syntax

Event Property object.onerror = handler;
addEventListener Method object.addEventListener("", handler, useCapture)

 

Event handler parameters

handler [in]

Type: EventHandler

The error event handler to be fired.

See also

CryptoOperation
KeyOperation

 

 

Show: