show data as well in wrongpacketforservertype
This commit is contained in:
parent
1c5db7d050
commit
ed16a717f6
@ -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…
x
Reference in New Issue
Block a user