CMPError
public enum CMPError : Equatable
extension CMPError: LocalizedError
Enum representing an error related to a CMPProvider.
-
The consent update request was not successful. cmpCode is the error code of the underlying CMP, if available. reason is a string message describing the error.
Declaration
Swift
case requirementsUpdateFailed(cmpCode: Int? = nil, reason: String)
-
The consent gathering was not successful. cmpCode is the error code of the underlying CMP, if available. reason is a string message describing the error.
Declaration
Swift
case consentGatheringFailed(cmpCode: Int? = nil, reason: String)
-
Could not present privacy form. cmpCode is the error code of the underlying CMP, if available. reason is a string message describing the error.
Declaration
Swift
case presentPrivacyFormFailed(cmpCode: Int? = nil, reason: String)
-
Declaration
Swift
public var errorDescription: String? { get }