GoogleUserMessagingPlatform Framework Reference

  • UMPRequestErrorCode is an enum used for error codes when updating consent information.

  • The enum includes cases for internal errors, invalid app IDs, network errors, and misconfiguration.

  • Each error code has a corresponding integer value and can be declared in Swift or Objective-C.

UMPRequestErrorCode

enum UMPRequestErrorCode : NSInteger {}

Error codes used when making requests to update consent info.

  • < Internal error.

    Declaration

    Swift

    static var `internal`: RequestError.Code { get }

    Objective-C

    UMPRequestErrorCodeInternal = 1
  • < The application’s app ID is invalid.

    Declaration

    Swift

    static var invalidAppID: RequestError.Code { get }

    Objective-C

    UMPRequestErrorCodeInvalidAppID = 2
  • < Network error communicating with Funding Choices.

    Declaration

    Swift

    static var network: RequestError.Code { get }

    Objective-C

    UMPRequestErrorCodeNetwork = 3
  • Undocumented

    Declaration

    Swift

    static var misconfiguration: RequestError.Code { get }

    Objective-C

    UMPRequestErrorCodeMisconfiguration =
            4