Class WebExtension.InstallException.ErrorCodes

Object
org.mozilla.geckoview.WebExtension.InstallException.ErrorCodes
Enclosing class:
WebExtension.InstallException

public static class WebExtension.InstallException.ErrorCodes extends Object
  • Field Details

    • ERROR_NETWORK_FAILURE

      public static final int ERROR_NETWORK_FAILURE
      The download failed due to network problems.
      See Also:
    • ERROR_INCORRECT_HASH

      public static final int ERROR_INCORRECT_HASH
      The downloaded file did not match the provided hash.
      See Also:
    • ERROR_CORRUPT_FILE

      public static final int ERROR_CORRUPT_FILE
      The downloaded file seems to be corrupted in some way.
      See Also:
    • ERROR_FILE_ACCESS

      public static final int ERROR_FILE_ACCESS
      An error occurred trying to write to the filesystem.
      See Also:
    • ERROR_SIGNEDSTATE_REQUIRED

      public static final int ERROR_SIGNEDSTATE_REQUIRED
      The extension must be signed and isn't.
      See Also:
    • ERROR_UNEXPECTED_ADDON_TYPE

      public static final int ERROR_UNEXPECTED_ADDON_TYPE
      The downloaded extension had a different type than expected.
      See Also:
    • ERROR_UNEXPECTED_ADDON_VERSION

      public static final int ERROR_UNEXPECTED_ADDON_VERSION
      The downloaded extension had a different version than expected.
      See Also:
    • ERROR_INCORRECT_ID

      public static final int ERROR_INCORRECT_ID
      The extension did not have the expected ID.
      See Also:
    • ERROR_INVALID_DOMAIN

      public static final int ERROR_INVALID_DOMAIN
      The extension did not have the expected ID.
      See Also:
    • ERROR_BLOCKLISTED

      public static final int ERROR_BLOCKLISTED
      The extension is (hard) blocked.
      See Also:
    • ERROR_INCOMPATIBLE

      public static final int ERROR_INCOMPATIBLE
      The extension is incompatible.
      See Also:
    • ERROR_UNSUPPORTED_ADDON_TYPE

      public static final int ERROR_UNSUPPORTED_ADDON_TYPE
      The extension type is not supported by the platform.
      See Also:
    • ERROR_ADMIN_INSTALL_ONLY

      public static final int ERROR_ADMIN_INSTALL_ONLY
      The extension can only be installed via Enterprise Policies.
      See Also:
    • ERROR_SOFT_BLOCKED

      public static final int ERROR_SOFT_BLOCKED
      The extension is soft-blocked.
      See Also:
    • ERROR_USER_CANCELED

      public static final int ERROR_USER_CANCELED
      The extension install was canceled.
      See Also:
    • ERROR_POSTPONED

      public static final int ERROR_POSTPONED
      The extension install was postponed until restart.
      See Also:
  • Constructor Details

    • ErrorCodes

      protected ErrorCodes()
      For testing.