Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/PyMySQL/PyMySQL
/ is_error_packet
Method
is_error_packet
pymysql/protocol.py:206–207 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
204
return
self._data[0] == 0xFB
205
206
def
is_error_packet(self):
207
return
self._data[0] == 0xFF
208
209
def
check_error(self):
210
if
self.is_error_packet():
Callers
2
check_error
Method · 0.95
_read_packet
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected