GoogleUserMessagingPlatform Framework Reference
UMPRequestErrorCode
enum UMPRequestErrorCode : NSInteger {}
Error codes used when making requests to update consent info.
-
Declaration
Swift
case `internal` = 1
Objective-C
UMPRequestErrorCodeInternal = 1
-
< The application’s app ID is invalid.
Declaration
Swift
case invalidAppID = 2
Objective-C
UMPRequestErrorCodeInvalidAppID = 2
-
< Network error communicating with Funding Choices.
Declaration
Objective-C
UMPRequestErrorCodeNetwork = 3
-
Declaration
Swift
case misconfiguration = 4
Objective-C
UMPRequestErrorCodeMisconfiguration =
4
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-04 UTC.
[null,null,["Last updated 2024-12-04 UTC."],[[["`UMPRequestErrorCode` is an enum listing error codes encountered when updating user consent information."],["Possible error codes include internal errors, invalid application IDs, and network communication issues with Funding Choices."],["Each error code has a corresponding integer value used for identification."],["A `misconfiguration` error code exists but is undocumented."]]],["The document defines the `UMPRequestErrorCode` enum, which categorizes errors during consent info update requests. It specifies four error codes: `internal` (1) for internal errors, `invalidAppID` (2) indicating an invalid application ID, `network` (3) for network communication failures, and `misconfiguration` (4) which is undocumented. Each error code is presented with its respective Swift and Objective-C declarations, ensuring compatibility across these programming languages.\n"]]