WindowEventHandlers.onmessageerror

The onmessageerror event handler of the WindowEventHandlers interface is an EventListener, called whenever an MessageEvent of type messageerror is fired on a window—that is, when it receives a message that cannot be deserialized.

Note:

This feature is available in Web Workers.

Syntax

window.onmessageerror = function() { ... };

Specifications

Browser compatibility

BCD tables only load in the browser

See also