Skip to content

PacketHandlingException ​

class · pocketmine\network\PacketHandlingException · source

Extends RuntimeException

Thrown when an error occurs during packet handling - for example, a message contained invalid options, packet shorter than expected, unknown packet, etc.

Methods ​

wrap() ​

php
public static function wrap(\Throwable $previous, ?string $prefix = null) : self

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.