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 { pub enum PacketParseError {
NotEnoughBytes, NotEnoughBytes,
WrongPacketCommand, WrongPacketCommand,
WrongPacketForServerType(u16),
WrongPacketForServerType(u16, Vec<u8>),
WrongPacketSize(u16, usize), WrongPacketSize(u16, usize),
DataStructNotLargeEnough(u64, usize), DataStructNotLargeEnough(u64, usize),
InvalidValue, InvalidValue,

Loading…
Cancel
Save