public function validateShardId(int $shard_id): int
    {
        if ($shard_id < 0 || $shard_id > 65535) {
            throw $this->c::issue('Shard ID out of range.');
        }
        return $shard_id;
    }