MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / ProtocolError

Class ProtocolError

unity_cli/exceptions.py:53–63  ·  view source on GitHub ↗

Protocol-level error. Raised when: - Invalid message framing (header size mismatch) - Payload exceeds maximum size (16 MiB) - Malformed JSON in response - Unexpected message type

Source from the content-addressed store, hash-verified

51
52
53class ProtocolError(UnityCLIError):
54 """Protocol-level error.
55
56 Raised when:
57 - Invalid message framing (header size mismatch)
58 - Payload exceeds maximum size (16 MiB)
59 - Malformed JSON in response
60 - Unexpected message type
61 """
62
63 pass
64
65
66class InstanceError(UnityCLIError):

Callers 5

_write_frameMethod · 0.90
_read_frameMethod · 0.90
_handle_responseMethod · 0.90
list_instancesMethod · 0.90
set_default_instanceMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected