AI-generated Key Takeaways
-
UMPFormErrorCode
is an enumeration of error codes used when loading and displaying forms within a user messaging platform. -
These error codes cover situations like internal errors, forms being already used or unavailable, timeouts during form loading, and issues with the view controller.
-
The codes are represented as integers and have corresponding symbolic names (e.g.,
UMPFormErrorCodeInternal
,UMPFormErrorCodeAlreadyUsed
) for easier use in code. -
They provide developers with specific information about the type of error encountered, allowing for appropriate handling and user feedback within the platform's form system.
UMPFormErrorCode
enum UMPFormErrorCode : NSInteger {}
Error codes used when loading and showing forms.
-
< Internal error.
Declaration
Swift
case `internal` = 5
Objective-C
UMPFormErrorCodeInternal = 5
-
< Form was already used.
Declaration
Swift
case alreadyUsed = 6
Objective-C
UMPFormErrorCodeAlreadyUsed = 6
-
< Form is unavailable.
Declaration
Swift
case unavailable = 7
Objective-C
UMPFormErrorCodeUnavailable = 7
-
< Loading a form timed out.
Declaration
Swift
case timeout = 8
Objective-C
UMPFormErrorCodeTimeout = 8
-
Undocumented
Declaration
Swift
case invalidViewController = 9
Objective-C
UMPFormErrorCodeInvalidViewController = 9