public static class WebExtension.InstallException.ErrorCodes extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_CORRUPT_FILE
The downloaded file seems to be corrupted in some way.
|
static int |
ERROR_FILE_ACCESS
An error occurred trying to write to the filesystem.
|
static int |
ERROR_INCORRECT_HASH
The downloaded file did not match the provided hash.
|
static int |
ERROR_INCORRECT_ID
The extension did not have the expected ID.
|
static int |
ERROR_NETWORK_FAILURE
The download failed due to network problems.
|
static int |
ERROR_POSTPONED
The extension install was postponed until restart.
|
static int |
ERROR_SIGNEDSTATE_REQUIRED
The extension must be signed and isn't.
|
static int |
ERROR_UNEXPECTED_ADDON_TYPE
The downloaded extension had a different type than expected.
|
static int |
ERROR_USER_CANCELED
The extension install was canceled.
|
Modifier | Constructor and Description |
---|---|
protected |
ErrorCodes()
For testing.
|
public static final int ERROR_NETWORK_FAILURE
public static final int ERROR_INCORRECT_HASH
public static final int ERROR_CORRUPT_FILE
public static final int ERROR_FILE_ACCESS
public static final int ERROR_SIGNEDSTATE_REQUIRED
public static final int ERROR_UNEXPECTED_ADDON_TYPE
public static final int ERROR_INCORRECT_ID
public static final int ERROR_USER_CANCELED
public static final int ERROR_POSTPONED