WebSocket 'error' event should expose a public code property to distinguish protocol violations
WebSocket 'error' event should expose a public code property to distinguish protocol violations: a task in LegoFlow-SWE (Harbor dataset). When the WebSocket receiver encounters protocol violations (such as invalid UTF‑8, max payload exceeded, invalid opcodes, unexpected RSV bits, masking…
The task
When the WebSocket receiver encounters protocol violations (such as invalid UTF‑8, max payload exceeded, invalid opcodes, unexpected RSV bits, masking violations, etc.), it emits an `'error'` event. The error objects that are delivered do not provide any public property that allows application code to…
Part of Lego-X/LegoFlow-SWE.