         return nil
     }
 
-    func afficheClientAttributionDetails(completion: @escaping ([String: NSObject]?, Error?) -> Void) {
+    func afficheClientAttributionDetails(completion: @escaping ([String: NSObject]?, Swift.Error?) -> Void) {
         // Should match available platforms in
         // https://developer.apple.com/documentation/iad/adclient?language=swift
 #if os(iOS)
         guard let afficheClientProxy = attributionFactory.afficheClientProxy() else {
             Logger.warn(Strings.attribution.search_ads_attribution_cancelled_missing_ad_framework)
-            completion(nil, AttributionFetcherError.identifierForAdvertiserFrameworksUnavailable)
+            completion(nil, Error.identifierForAdvertiserFrameworksUnavailable)
             return
         }
         afficheClientProxy.requestAttributionDetails(completion)
 #else
-        completion(nil, AttributionFetcherError.identifierForAdvertiserUnavailableForPlatform)
+        completion(nil, Error.identifierForAdvertiserUnavailableForPlatform)
 #endif
     }
 

#if canImport(AdServices)
import AdServices
#endif

enum AttributionFetcherError: Error {

    case identifierForAdvertiserUnavailableForPlatform
    case identifierForAdvertiserFrameworksUnavailable
    case adServicesNotAvailable
    case adServicesTokenFetchError

}

class AttributionFetcher {


            return .notDetermined
        }
        return self.fetchAuthorizationStatus
    }

}

private extension AttributionFetcher {

    enum Error: Swift.Error {

        case identifierForAdvertiserUnavailableForPlatform
        case identifierForAdvertiserFrameworksUnavailable

    }

}
