     /// Updates the supplied `XcodeServer` entity with the response.
     public static func syncVersionData(forXcodeServer xcodeServer: XcodeServer, completion: @escaping XCServerCoreDataCompletion) {
         guard let moc = xcodeServer.managedObjectContext else {
-            completion(self.invalidManagedObjectContext)
+            completion(Errors.managedObjectContext)
             return
         }
         

            }
            
            guard let stats = stats else {
                completion(self.invalidResponse)
                return
            }
            

    /// Updates the supplied `Integration` entity with the response.
    public static func syncIntegration(integration: Integration, completion: @escaping XCServerCoreDataCompletion) {
        guard let moc = integration.managedObjectContext else {
            completion(Errors.managedObjectContext)
            return
        }
        
        guard let bot = integration.bot else {
            completion(Errors.bot)
            return
        }
        
        guard let xcodeServer = bot.xcodeServer else {
            completion(Errors.xcodeServer)
            return
        }
        
