AI-generated Key Takeaways
-
UMPFormErrorCode
is an enumeration of error codes used when loading and showing forms in an application. -
These error codes indicate issues like internal errors, form unavailability, timeouts, and forms that have already been used.
-
Developers can use these codes to handle errors gracefully and provide informative feedback to users.
-
Each code is represented by an integer value and has a corresponding human-readable description.
-
Includes an undocumented error code:
UMPFormErrorCodeInvalidViewController
.
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