PocketMine-MP 5.16.1 git-585aee9386a787c95e73dd0a05ffca8329606b68
pocketmine\network\PacketHandlingException Class Reference
+ Inheritance diagram for pocketmine\network\PacketHandlingException:
+ Collaboration diagram for pocketmine\network\PacketHandlingException:

Static Public Member Functions

static wrap (\Throwable $previous, ?string $prefix=null)

Detailed Description

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

Definition at line 30 of file PacketHandlingException.php.

Member Function Documentation

◆ wrap()

static pocketmine\network\PacketHandlingException::wrap ( \Throwable  $previous,
?string  $prefix = null 

Definition at line 32 of file PacketHandlingException.php.

The documentation for this class was generated from the following file: