WebSocketSettings currently supports disabling the broadcast of `close` events. This toggle has been added because notifications lead to deserialization of the page instance from the page store:
The same happens for `error` events, but it is not possible to disable the notification.
Would it be possible to add another toggle `setNotifyOnErrorEvent`?
I can provide a PR if necessary.