diff --git a/src/lib.rs b/src/lib.rs index 280e601..6b63ce3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,7 +10,7 @@ use std::io::Read; pub enum PacketParseError { NotEnoughBytes, WrongPacketCommand, - WrongPacketForServerType(u16), + WrongPacketForServerType(u16, Vec), WrongPacketSize(u16, usize), DataStructNotLargeEnough(u64, usize), InvalidValue,