Exception: Lich::GameBase::GameStreamDesyncError
- Inherits:
-
StandardError
- Object
- StandardError
- Lich::GameBase::GameStreamDesyncError
- Defined in:
- documented/games.rb
Overview
Raised when a server fragment is structurally truncated (cut off mid-element) -- the stream has desynced from XML framing. Pre-Ox, strict REXML raised on these fragments and Game.process_xml_data's rescue logged the fragment and reset XMLData, so parser strictness doubled as desync detection. Ox is permissive: it parses truncated fragments without raising (auto-closing elements, fabricating empty attribute values) and only reports the damage through its optional error callback. That callback is now the only desync signal, so process_xml_data promotes truncation-class parse errors to this exception to keep the old recovery path (log + XMLData.reset).