GoogleUserMessagingPlatform Framework Reference

  • UMPFormErrorCode is an enum used for error codes when loading and showing forms.

  • Specific error codes within UMPFormErrorCode include internal errors, forms that were already used, forms that are unavailable, and forms that timed out.

  • An additional error code, UMPFormErrorCodeInvalidViewController, is listed but undocumented.

UMPFormErrorCode

enum UMPFormErrorCode : NSInteger {}

Error codes used when loading and showing forms.

  • < Internal error.

    Declaration

    Swift

    static var `internal`: FormError.Code { get }

    Objective-C

    UMPFormErrorCodeInternal = 5
  • < Form was already used.

    Declaration

    Swift

    static var alreadyUsed: FormError.Code { get }

    Objective-C

    UMPFormErrorCodeAlreadyUsed = 6
  • < Form is unavailable.

    Declaration

    Swift

    static var unavailable: FormError.Code { get }

    Objective-C

    UMPFormErrorCodeUnavailable = 7
  • < Loading a form timed out.

    Declaration

    Swift

    static var timeout: FormError.Code { get }

    Objective-C

    UMPFormErrorCodeTimeout = 8
  • Undocumented

    Declaration

    Swift

    static var invalidViewController: FormError.Code { get }

    Objective-C

    UMPFormErrorCodeInvalidViewController =
            9