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 displaying forms within a user messaging platform.\u003c/p\u003e\n"],["\u003cp\u003eThese error codes cover situations like internal errors, forms being already used or unavailable, timeouts during form loading, and issues with the view controller.\u003c/p\u003e\n"],["\u003cp\u003eThe codes are represented as integers and have corresponding symbolic names (e.g., \u003ccode\u003eUMPFormErrorCodeInternal\u003c/code\u003e, \u003ccode\u003eUMPFormErrorCodeAlreadyUsed\u003c/code\u003e) for easier use in code.\u003c/p\u003e\n"],["\u003cp\u003eThey provide developers with specific information about the type of error encountered, allowing for appropriate handling and user feedback within the platform's form system.\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"]]