# GoogleUserMessagingPlatform Framework Reference

# UMPFormErrorCode

    enum UMPFormErrorCode : NSInteger {}

Error codes used when loading and showing forms.
- `


  ### [UMPFormErrorCodeInternal](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/privacy/api/reference/Enums/UMPFormErrorCode#/c:@E@UMPFormErrorCode@UMPFormErrorCodeInternal)


  ` \< Internal error.

  #### Declaration

  Swift

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

  Objective-C

      UMPFormErrorCodeInternal = 5

- `


  ### [UMPFormErrorCodeAlreadyUsed](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/privacy/api/reference/Enums/UMPFormErrorCode#/c:@E@UMPFormErrorCode@UMPFormErrorCodeAlreadyUsed)


  ` \< Form was already used.

  #### Declaration

  Swift

      static var alreadyUsed: FormError.Code { get }

  Objective-C

      UMPFormErrorCodeAlreadyUsed = 6

- `


  ### [UMPFormErrorCodeUnavailable](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/privacy/api/reference/Enums/UMPFormErrorCode#/c:@E@UMPFormErrorCode@UMPFormErrorCodeUnavailable)


  ` \< Form is unavailable.

  #### Declaration

  Swift

      static var unavailable: FormError.Code { get }

  Objective-C

      UMPFormErrorCodeUnavailable = 7

- `


  ### [UMPFormErrorCodeTimeout](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/privacy/api/reference/Enums/UMPFormErrorCode#/c:@E@UMPFormErrorCode@UMPFormErrorCodeTimeout)


  ` \< Loading a form timed out.

  #### Declaration

  Swift

      static var timeout: FormError.Code { get }

  Objective-C

      UMPFormErrorCodeTimeout = 8

- `


  ### [UMPFormErrorCodeInvalidViewController](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/privacy/api/reference/Enums/UMPFormErrorCode#/c:@E@UMPFormErrorCode@UMPFormErrorCodeInvalidViewController)


  ` Undocumented

  #### Declaration

  Swift

      static var invalidViewController: FormError.Code { get }

  Objective-C

      UMPFormErrorCodeInvalidViewController =
              9