Package org.mozilla.geckoview
Class WebExtension.InstallException.ErrorCodes
Object
org.mozilla.geckoview.WebExtension.InstallException.ErrorCodes
- Enclosing class:
- WebExtension.InstallException
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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 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 downloaded extension had a different type than expected.static final int
The downloaded extension had a different version than expectedstatic final int
The extension install was canceled. -
Constructor Summary
Constructors -
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_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.
-