Package org.mozilla.geckoview
Class WebExtension.InstallException.ErrorCodes
Object
org.mozilla.geckoview.WebExtension.InstallException.ErrorCodes
- Enclosing class:
- WebExtension.InstallException
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The extension can only be installed via Enterprise Policies.static final int
The extension is (hard) blocked.static final int
The downloaded file seems to be corrupted in some way.static final int
An error occurred trying to write to the filesystem.static final int
The extension is incompatible.static final int
The downloaded file did not match the provided hash.static final int
The extension did not have the expected ID.static final int
The extension did not have the expected ID.static final int
The download failed due to network problems.static final int
The extension install was postponed until restart.static final int
The extension must be signed and isn't.static final int
The extension is soft-blocked.static final int
The downloaded extension had a different type than expected.static final int
The downloaded extension had a different version than expected.static final int
The extension type is not supported by the platform.static final int
The extension install was canceled. -
Constructor Summary
-
Method Summary
-
Field Details
-
ERROR_NETWORK_FAILURE
public static final int ERROR_NETWORK_FAILUREThe download failed due to network problems.- See Also:
-
ERROR_INCORRECT_HASH
public static final int ERROR_INCORRECT_HASHThe downloaded file did not match the provided hash.- See Also:
-
ERROR_CORRUPT_FILE
public static final int ERROR_CORRUPT_FILEThe downloaded file seems to be corrupted in some way.- See Also:
-
ERROR_FILE_ACCESS
public static final int ERROR_FILE_ACCESSAn error occurred trying to write to the filesystem.- See Also:
-
ERROR_SIGNEDSTATE_REQUIRED
public static final int ERROR_SIGNEDSTATE_REQUIREDThe extension must be signed and isn't.- See Also:
-
ERROR_UNEXPECTED_ADDON_TYPE
public static final int ERROR_UNEXPECTED_ADDON_TYPEThe downloaded extension had a different type than expected.- See Also:
-
ERROR_UNEXPECTED_ADDON_VERSION
public static final int ERROR_UNEXPECTED_ADDON_VERSIONThe downloaded extension had a different version than expected.- See Also:
-
ERROR_INCORRECT_ID
public static final int ERROR_INCORRECT_IDThe extension did not have the expected ID.- See Also:
-
ERROR_INVALID_DOMAIN
public static final int ERROR_INVALID_DOMAINThe extension did not have the expected ID.- See Also:
-
ERROR_BLOCKLISTED
public static final int ERROR_BLOCKLISTEDThe extension is (hard) blocked.- See Also:
-
ERROR_INCOMPATIBLE
public static final int ERROR_INCOMPATIBLEThe extension is incompatible.- See Also:
-
ERROR_UNSUPPORTED_ADDON_TYPE
public static final int ERROR_UNSUPPORTED_ADDON_TYPEThe extension type is not supported by the platform.- See Also:
-
ERROR_ADMIN_INSTALL_ONLY
public static final int ERROR_ADMIN_INSTALL_ONLYThe extension can only be installed via Enterprise Policies.- See Also:
-
ERROR_SOFT_BLOCKED
public static final int ERROR_SOFT_BLOCKEDThe extension is soft-blocked.- See Also:
-
ERROR_USER_CANCELED
public static final int ERROR_USER_CANCELEDThe extension install was canceled.- See Also:
-
ERROR_POSTPONED
public static final int ERROR_POSTPONEDThe extension install was postponed until restart.- See Also:
-
-
Constructor Details
-
ErrorCodes
protected ErrorCodes()For testing.
-