BroadcastChannel.onmessageerror

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

Note: This feature is available in Web Workers

Syntax

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

Specifications

Specification
HTML Standard (HTML)
# handler-broadcastchannel-onmessageerror

Browser compatibility

BCD tables only load in the browser

See also