Function PacketPeer.getPacketError

Returns the error state of the last packet received (via getPacket and getVar).

godot.core.defs.GodotError getPacketError() nothrow @nogc const;