Readonly
A handler for caught unhandled errors from message handlers, invoked when safePublishing is true.
safePublishing
(e) => console.error(e) Copy
(e) => console.error(e)
If true, errors thrown by message handlers are caught and sent to the errorHandler instead of being allowed to propagate.
true
errorHandler
The default errorHandler prints to console.error.
console.error
false Copy
false
A handler for caught unhandled errors from message handlers, invoked when
safePublishing
is true.