Browse Source

show data as well in wrongpacketforservertype

pull/3/head
jake 5 years ago
parent
commit
ed16a717f6
  1. 2
      src/lib.rs

2
src/lib.rs

@ -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,

Loading…
Cancel
Save