GoogleUserMessagingPlatform Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
enum UMPFormErrorCode : NSInteger {}
Error codes used when loading and showing forms.
-
Declaration
Swift
case `internal` = 5
Objective-C
UMPFormErrorCodeInternal = 5
-
Declaration
Swift
case alreadyUsed = 6
Objective-C
UMPFormErrorCodeAlreadyUsed = 6
-
Declaration
Swift
case unavailable = 7
Objective-C
UMPFormErrorCodeUnavailable = 7
-
< Loading a form timed out.
Declaration
Objective-C
UMPFormErrorCodeTimeout = 8
-
Declaration
Swift
case invalidViewController = 9
Objective-C
UMPFormErrorCodeInvalidViewController =
9
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 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eUMPFormErrorCode\u003c/code\u003e is an enumeration of error codes used when loading and showing forms in an application.\u003c/p\u003e\n"],["\u003cp\u003eThese error codes indicate issues like internal errors, form unavailability, timeouts, and forms that have already been used.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use these codes to handle errors gracefully and provide informative feedback to users.\u003c/p\u003e\n"],["\u003cp\u003eEach code is represented by an integer value and has a corresponding human-readable description.\u003c/p\u003e\n"],["\u003cp\u003eIncludes an undocumented error code: \u003ccode\u003eUMPFormErrorCodeInvalidViewController\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# GoogleUserMessagingPlatform Framework Reference\n\nUMPFormErrorCode\n================\n\n enum UMPFormErrorCode : NSInteger {}\n\nError codes used when loading and showing forms.\n- `\n ``\n ``\n `\n\n ### [UMPFormErrorCodeInternal](#/c:@E@UMPFormErrorCode@UMPFormErrorCodeInternal)\n\n `\n ` \n \\\u003c Internal error. \n\n #### Declaration\n\n Swift \n\n case `internal` = 5\n\n Objective-C \n\n UMPFormErrorCodeInternal = 5\n\n- `\n ``\n ``\n `\n\n ### [UMPFormErrorCodeAlreadyUsed](#/c:@E@UMPFormErrorCode@UMPFormErrorCodeAlreadyUsed)\n\n `\n ` \n \\\u003c Form was already used. \n\n #### Declaration\n\n Swift \n\n case alreadyUsed = 6\n\n Objective-C \n\n UMPFormErrorCodeAlreadyUsed = 6\n\n- `\n ``\n ``\n `\n\n ### [UMPFormErrorCodeUnavailable](#/c:@E@UMPFormErrorCode@UMPFormErrorCodeUnavailable)\n\n `\n ` \n \\\u003c Form is unavailable. \n\n #### Declaration\n\n Swift \n\n case unavailable = 7\n\n Objective-C \n\n UMPFormErrorCodeUnavailable = 7\n\n- `\n ``\n ``\n `\n\n ### [UMPFormErrorCodeTimeout](#/c:@E@UMPFormErrorCode@UMPFormErrorCodeTimeout)\n\n `\n ` \n \\\u003c Loading a form timed out. \n\n #### Declaration\n\n Swift \n\n case timeout = 8\n\n Objective-C \n\n UMPFormErrorCodeTimeout = 8\n\n- `\n ``\n ``\n `\n\n ### [UMPFormErrorCodeInvalidViewController](#/c:@E@UMPFormErrorCode@UMPFormErrorCodeInvalidViewController)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Swift \n\n case invalidViewController = 9\n\n Objective-C \n\n UMPFormErrorCodeInvalidViewController =\n 9"]]