isErrorPacket method

bool isErrorPacket()

Returns the truth of the payload for an error packet.

Implementation

bool isErrorPacket() => payload is MySQLPacketError;