lpw
2 days ago 7c666378d77fc1746cb089c273a4bacfad995356
frameworks/UserMessagingPlatform.xcframework/ios-arm64/UserMessagingPlatform.framework/Headers/UMPError.h
@@ -4,20 +4,20 @@
extern NSErrorDomain _Nonnull const UMPErrorDomain;
/// Error codes used when making requests to update consent info.
typedef NS_ENUM(NSInteger, UMPRequestErrorCode) {
typedef NS_ERROR_ENUM(UMPErrorDomain, UMPRequestErrorCode){
  UMPRequestErrorCodeInternal = 1,      ///< Internal error.
  UMPRequestErrorCodeInvalidAppID = 2,  ///< The application's app ID is invalid.
  UMPRequestErrorCodeNetwork = 3,       ///< Network error communicating with Funding Choices.
  UMPRequestErrorCodeMisconfiguration =
      4,  ///< A misconfiguration exists in the Funding Choices UI.
};
} NS_SWIFT_NAME(RequestError);
/// Error codes used when loading and showing forms.
typedef NS_ENUM(NSInteger, UMPFormErrorCode) {
typedef NS_ERROR_ENUM(UMPErrorDomain, UMPFormErrorCode){
  UMPFormErrorCodeInternal = 5,     ///< Internal error.
  UMPFormErrorCodeAlreadyUsed = 6,  ///< Form was already used.
  UMPFormErrorCodeUnavailable = 7,  ///< Form is unavailable.
  UMPFormErrorCodeTimeout = 8,      ///< Loading a form timed out.
  UMPFormErrorCodeInvalidViewController =
      9,  ///< Form cannot be presented from the provided view controller.
};
} NS_SWIFT_NAME(FormError);