Renamed BadPacketException -> PacketHandlingException

this better describes the intent, instead of just vaguely describing a packet as 'bad'.
This commit is contained in:
Dylan K. Taylor
2021-03-30 01:15:28 +01:00
parent 25998720ce
commit b7a6c9dc17
7 changed files with 35 additions and 31 deletions

View File

@ -32,7 +32,7 @@ interface RawPacketHandler{
public function getPattern() : string;
/**
* @throws BadPacketException
* @throws PacketHandlingException
*/
public function handle(AdvancedNetworkInterface $interface, string $address, int $port, string $packet) : bool;
}