MCPcopy
hub / github.com/PyMySQL/PyMySQL / check_error

Method check_error

pymysql/protocol.py:209–211  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

207 return self._data[0] == 0xFF
208
209 def check_error(self):
210 if self.is_error_packet():
211 self.raise_for_error()
212
213 def raise_for_error(self):
214 self.rewind()

Callers 4

_roundtripFunction · 0.80
_process_authMethod · 0.80
authenticateMethod · 0.80

Calls 2

is_error_packetMethod · 0.95
raise_for_errorMethod · 0.95

Tested by 1

authenticateMethod · 0.64