com.samsung.android.sdk.coldwallet
Interface ScwErrorCode
-
public interface ScwErrorCode
Class to define error codes from the Keystore
-
-
Field Summary
Fields Modifier and Type Field and Description static int
ERROR_CHECK_APP_VERSION_FAILED
Failed to check whether there is an update or a mandatory version.static int
ERROR_CHECK_INTEGRITY_FAILED
Unauthorized changes have been made to your device Contact customer service.static int
ERROR_CHECK_INTEGRITY_NOT_AVAILABLE
Failed to check device integrity check Try again.static int
ERROR_EXCEED_NUMBER_OF_DEVICES
Exceeded number of devices allowed per package in Developer Modestatic int
ERROR_EXTERNAL_DISPLAY_NOT_ALLOWED
Failed to display on external display.static int
ERROR_ILLEGAL_MSG
Internal State Machine failed to handle messagestatic int
ERROR_INIT_TA_FAILED
Failed to initialize TA files because failed to unzip.static int
ERROR_INVALID_HD_PATH
Wrong HD path inputstatic int
ERROR_INVALID_INPUT_UTXO
input utxo count can't exceed 20static int
ERROR_INVALID_SCW_APP_ID
Failed to validate scw_app_id from Keystore Unauthorized applications are prohibited to access the Keystorestatic int
ERROR_INVALID_TRANSACTION_FORMAT
Failed to sign transaction because transaction value is not valid.static int
ERROR_LOAD_TA_FAILED
Failed to load Trusted Applicationsstatic int
ERROR_MANDATORY_APP_UPDATE_NEEDED
There is mandatory app update.static int
ERROR_NEGATIVE_VALUE
Value is negative value .static int
ERROR_NETWORK_FAILED
Network error occurred.static int
ERROR_NETWORK_NOT_AVAILABLE
There is no network connection.static int
ERROR_NONE
No error to operatestatic int
ERROR_NOT_SUPPORTED_COUNTRY
Country of the device is not supported by Keystore yetstatic int
ERROR_OP_FAIL
Requested operation failstatic int
ERROR_OP_INTERRUPTED
Requested operation cancelledstatic int
ERROR_OP_NOT_SUPPORTED
Requested operation is not supported.static int
ERROR_OP_TIMEOUT
Requested operation cancelled by timeoutstatic int
ERROR_OUT_OF_BOUND_VALUE
Failed to sign transaction because of the amount is out of bound.static int
ERROR_OUT_OF_INPUT_UTXO_SIZE
input utxo size can't exceed 50KBstatic int
ERROR_OUT_OF_OUTPUT_COUNT
output count can't exceed 2static int
ERROR_SERVER_FAILED
Server error occurred.static int
ERROR_TNC_NOT_AGREED
Latest term is not agreed.static int
ERROR_USER_AUTHENTICATION_FAILED
Failed to authenticate the userstatic int
ERROR_WALLET_NOT_CREATED
Wallet is not created.static int
ERROR_WALLET_RESET
User entered wrong PIN too many times.
-
-
-
Field Detail
-
ERROR_NONE
static final int ERROR_NONE
No error to operate- See Also:
- Constant Field Values
-
ERROR_OP_FAIL
static final int ERROR_OP_FAIL
Requested operation fail- See Also:
- Constant Field Values
-
ERROR_OP_INTERRUPTED
static final int ERROR_OP_INTERRUPTED
Requested operation cancelled- See Also:
- Constant Field Values
-
ERROR_ILLEGAL_MSG
static final int ERROR_ILLEGAL_MSG
Internal State Machine failed to handle message- See Also:
- Constant Field Values
-
ERROR_LOAD_TA_FAILED
static final int ERROR_LOAD_TA_FAILED
Failed to load Trusted Applications- See Also:
- Constant Field Values
-
ERROR_OP_TIMEOUT
static final int ERROR_OP_TIMEOUT
Requested operation cancelled by timeout- See Also:
- Constant Field Values
-
ERROR_TNC_NOT_AGREED
static final int ERROR_TNC_NOT_AGREED
Latest term is not agreed. It need to start the Keystore main activity and then user can agree TnC.ScwDeepLink.MAIN
- See Also:
- Constant Field Values
-
ERROR_USER_AUTHENTICATION_FAILED
static final int ERROR_USER_AUTHENTICATION_FAILED
Failed to authenticate the user- See Also:
- Constant Field Values
-
ERROR_MANDATORY_APP_UPDATE_NEEDED
static final int ERROR_MANDATORY_APP_UPDATE_NEEDED
There is mandatory app update. You need open the update page withScwDeepLink.GALAXY_STORE
- See Also:
- Constant Field Values
-
ERROR_CHECK_INTEGRITY_FAILED
static final int ERROR_CHECK_INTEGRITY_FAILED
Unauthorized changes have been made to your device Contact customer service.- See Also:
- Constant Field Values
-
ERROR_CHECK_INTEGRITY_NOT_AVAILABLE
static final int ERROR_CHECK_INTEGRITY_NOT_AVAILABLE
Failed to check device integrity check Try again.- See Also:
- Constant Field Values
-
ERROR_INVALID_SCW_APP_ID
static final int ERROR_INVALID_SCW_APP_ID
Failed to validate scw_app_id from Keystore Unauthorized applications are prohibited to access the Keystore- See Also:
- Constant Field Values
-
ERROR_WALLET_RESET
static final int ERROR_WALLET_RESET
User entered wrong PIN too many times. So HD wallet seed is removed and this error is returned- See Also:
- Constant Field Values
-
ERROR_NOT_SUPPORTED_COUNTRY
static final int ERROR_NOT_SUPPORTED_COUNTRY
Country of the device is not supported by Keystore yet- See Also:
- Constant Field Values
-
ERROR_CHECK_APP_VERSION_FAILED
static final int ERROR_CHECK_APP_VERSION_FAILED
Failed to check whether there is an update or a mandatory version. Recall previously called API, but if the error continues, user needs to check the network connection.- See Also:
- Constant Field Values
-
ERROR_INVALID_TRANSACTION_FORMAT
static final int ERROR_INVALID_TRANSACTION_FORMAT
Failed to sign transaction because transaction value is not valid.- See Also:
- Constant Field Values
-
ERROR_INIT_TA_FAILED
static final int ERROR_INIT_TA_FAILED
Failed to initialize TA files because failed to unzip.- See Also:
- Constant Field Values
-
ERROR_EXTERNAL_DISPLAY_NOT_ALLOWED
static final int ERROR_EXTERNAL_DISPLAY_NOT_ALLOWED
Failed to display on external display.- See Also:
- Constant Field Values
-
ERROR_OP_NOT_SUPPORTED
static final int ERROR_OP_NOT_SUPPORTED
Requested operation is not supported. The sdk should be updated to support the API(s).- See Also:
- Constant Field Values
-
ERROR_OUT_OF_BOUND_VALUE
static final int ERROR_OUT_OF_BOUND_VALUE
Failed to sign transaction because of the amount is out of bound. Ethereum amount boundary is 8 for integer part and 18 for decimal part. Ethereum token amount boundary is 22 digits.- See Also:
- Constant Field Values
-
ERROR_OUT_OF_OUTPUT_COUNT
static final int ERROR_OUT_OF_OUTPUT_COUNT
output count can't exceed 2- See Also:
- Constant Field Values
-
ERROR_INVALID_INPUT_UTXO
static final int ERROR_INVALID_INPUT_UTXO
input utxo count can't exceed 20- See Also:
- Constant Field Values
-
ERROR_OUT_OF_INPUT_UTXO_SIZE
static final int ERROR_OUT_OF_INPUT_UTXO_SIZE
input utxo size can't exceed 50KB- See Also:
- Constant Field Values
-
ERROR_EXCEED_NUMBER_OF_DEVICES
static final int ERROR_EXCEED_NUMBER_OF_DEVICES
Exceeded number of devices allowed per package in Developer Mode- See Also:
- Constant Field Values
-
ERROR_INVALID_HD_PATH
static final int ERROR_INVALID_HD_PATH
Wrong HD path input- See Also:
- Constant Field Values
-
ERROR_WALLET_NOT_CREATED
static final int ERROR_WALLET_NOT_CREATED
Wallet is not created. Need to launch Keystore to create it, useScwDeepLink.MAIN
- See Also:
- Constant Field Values
-
ERROR_NETWORK_NOT_AVAILABLE
static final int ERROR_NETWORK_NOT_AVAILABLE
There is no network connection.- See Also:
- Constant Field Values
-
ERROR_NETWORK_FAILED
static final int ERROR_NETWORK_FAILED
Network error occurred.- See Also:
- Constant Field Values
-
ERROR_SERVER_FAILED
static final int ERROR_SERVER_FAILED
Server error occurred.- See Also:
- Constant Field Values
-
ERROR_NEGATIVE_VALUE
static final int ERROR_NEGATIVE_VALUE
Value is negative value .- See Also:
- Constant Field Values
-
-