private function validateApiVersion($event)
    {
        if (Client::API_VERSION !== $event->apiVersion) {
            throw new ApiVersionMismatchException($event->apiVersion, Client::API_VERSION);
        }
    }