show data as well in wrongpacketforservertype

This commit is contained in:
jake 2019-11-09 22:57:01 -08:00
parent 1c5db7d050
commit ed16a717f6

View File

@ -10,7 +10,7 @@ use std::io::Read;
pub enum PacketParseError {
NotEnoughBytes,
WrongPacketCommand,
WrongPacketForServerType(u16),
WrongPacketForServerType(u16, Vec<u8>),
WrongPacketSize(u16, usize),
DataStructNotLargeEnough(u64, usize),
InvalidValue,